captain-awesome commited on
Commit
523d9c4
·
1 Parent(s): a3e4e43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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