Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,6 +111,8 @@ async def get_answer(q: Query ):
|
|
111 |
t = threading.Thread(target=do_ML, args=(filename,text))
|
112 |
t.start()
|
113 |
|
|
|
|
|
114 |
|
115 |
|
116 |
return "hello"
|
|
|
111 |
t = threading.Thread(target=do_ML, args=(filename,text))
|
112 |
t.start()
|
113 |
|
114 |
+
return JSONResponse({"id": filename})
|
115 |
+
|
116 |
|
117 |
|
118 |
return "hello"
|