captain-awesome commited on
Commit
a3e4e43
1 Parent(s): f2caf43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -304,8 +304,8 @@ def create_chain(llm, prompt, CONDENSE_QUESTION_PROMPT, db):
304
  return chain
305
 
306
  def create_retrieval_qa_bot():
307
- if not os.path.exists(persist_dir):
308
- raise FileNotFoundError(f"No directory found at {persist_dir}")
309
 
310
  try:
311
  llm = load_model() # Assuming this function exists and works as expected
 
304
  return chain
305
 
306
  def create_retrieval_qa_bot():
307
+ # if not os.path.exists(persist_dir):
308
+ # raise FileNotFoundError(f"No directory found at {persist_dir}")
309
 
310
  try:
311
  llm = load_model() # Assuming this function exists and works as expected