Spaces:
Sleeping
Sleeping
fixed bugs
Browse files
app.py
CHANGED
@@ -210,14 +210,14 @@ def processData(fileOrLink,session_info):
|
|
210 |
index = store_vector(fileOrLink)
|
211 |
|
212 |
qa_chain_store[session_id] = index
|
213 |
-
|
214 |
return "Web Page Data splitted, embeded, and ready to be searched. and your Session ID is "+session_id
|
215 |
|
216 |
else:
|
217 |
index = store_vector(fileOrLink.name)
|
218 |
|
219 |
qa_chain_store[session_id] = index
|
220 |
-
|
221 |
return "File splitted, embeded, and ready to be searched. and your Session ID is "+session_id
|
222 |
|
223 |
|
|
|
210 |
index = store_vector(fileOrLink)
|
211 |
|
212 |
qa_chain_store[session_id] = index
|
213 |
+
gr.Info("webpage data has been prepared to start chat")
|
214 |
return "Web Page Data splitted, embeded, and ready to be searched. and your Session ID is "+session_id
|
215 |
|
216 |
else:
|
217 |
index = store_vector(fileOrLink.name)
|
218 |
|
219 |
qa_chain_store[session_id] = index
|
220 |
+
gr.Info("file data has been prepared to start chat")
|
221 |
return "File splitted, embeded, and ready to be searched. and your Session ID is "+session_id
|
222 |
|
223 |
|