Spaces:
Runtime error
Runtime error
AkshayaKeerthi
commited on
Commit
•
73fb0b0
1
Parent(s):
921a24e
Update app.py
Browse files
app.py
CHANGED
@@ -23,4 +23,4 @@ async def predict(request: Request):
|
|
23 |
user_input = data.get('message')
|
24 |
# result = model(user_input)
|
25 |
# response_text = result[0]['generated_text']
|
26 |
-
return JSONResponse(content={'response':
|
|
|
23 |
user_input = data.get('message')
|
24 |
# result = model(user_input)
|
25 |
# response_text = result[0]['generated_text']
|
26 |
+
return JSONResponse(content={'response': response_text})
|