Spaces:
Runtime error
Runtime error
Commit
·
523d9c4
1
Parent(s):
a3e4e43
Update app.py
Browse files
app.py
CHANGED
@@ -323,7 +323,7 @@ def create_retrieval_qa_bot():
|
|
323 |
raise Exception(f"Failed to get condense prompt: {str(e)}")
|
324 |
|
325 |
try:
|
326 |
-
db = create_vector_database() # Assuming this function exists and works as expected
|
327 |
except Exception as e:
|
328 |
raise Exception(f"Failed to get database: {str(e)}")
|
329 |
|
|
|
323 |
raise Exception(f"Failed to get condense prompt: {str(e)}")
|
324 |
|
325 |
try:
|
326 |
+
db = create_vector_database(loaded_documents) # Assuming this function exists and works as expected
|
327 |
except Exception as e:
|
328 |
raise Exception(f"Failed to get database: {str(e)}")
|
329 |
|