Spaces:
Runtime error
Runtime error
HarshSanghavi
commited on
Commit
•
1a175fe
1
Parent(s):
7c53868
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ async def read_root(request: Request):
|
|
24 |
start = time.time_ns()
|
25 |
form_data = await request.json()
|
26 |
query = form_data.get('query')
|
27 |
-
user_id = form_data.get("user_id")
|
28 |
response_text = chat_conversations(query,user_id)
|
29 |
print("message is send after : ",time.time()- start)
|
30 |
return response_text
|
|
|
24 |
start = time.time_ns()
|
25 |
form_data = await request.json()
|
26 |
query = form_data.get('query')
|
27 |
+
user_id = form_data.get("user_id").lower()
|
28 |
response_text = chat_conversations(query,user_id)
|
29 |
print("message is send after : ",time.time()- start)
|
30 |
return response_text
|