srinuksv commited on
Commit
cca1e16
1 Parent(s): 65a487f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -219,7 +219,7 @@ async def receive_form_data(request: Request):
219
  print("Received form data:", form_data)
220
 
221
  # Send back the unique id to the frontend
222
- return JSONResponse({"id": a})
223
 
224
  @app.post("/chat/")
225
  async def chat(request: MessageRequest):
 
219
  print("Received form data:", form_data)
220
 
221
  # Send back the unique id to the frontend
222
+ return JSONResponse({"id": a['id']})
223
 
224
  @app.post("/chat/")
225
  async def chat(request: MessageRequest):