Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -99,8 +99,10 @@ async def handle_response(res):
|
|
99 |
await asyncio.to_thread(qdrant_store.add_documents, splits)
|
100 |
await cl.Message(content="added to vs").send()
|
101 |
|
102 |
-
|
103 |
-
|
|
|
|
|
104 |
|
105 |
if res and res.get("value") == "url":
|
106 |
await cl.Message(content="Submit a url link in the message box below.").send()
|
|
|
99 |
await asyncio.to_thread(qdrant_store.add_documents, splits)
|
100 |
await cl.Message(content="added to vs").send()
|
101 |
|
102 |
+
await cl.Message(content=f"Processing `{file.name}` done.").send()
|
103 |
+
|
104 |
+
res = await ask_action()
|
105 |
+
await handle_response(res)
|
106 |
|
107 |
if res and res.get("value") == "url":
|
108 |
await cl.Message(content="Submit a url link in the message box below.").send()
|