StevenChen16 commited on
Commit
1df3e06
1 Parent(s): 786f9d6

修改bug并且删除vector_store的重复初始化

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ try:
94
 
95
  except Exception as e:
96
  raise RuntimeError(f"Failed to load vector store from HuggingFace Hub: {str(e)}")
97
- vector_store = FAISS.load_local(repo_path, embedding_model, allow_dangerous_deserialization=True)
98
 
99
 
100
  background_prompt = '''
 
94
 
95
  except Exception as e:
96
  raise RuntimeError(f"Failed to load vector store from HuggingFace Hub: {str(e)}")
97
+ # vector_store = FAISS.load_local(repo_path, embedding_model, allow_dangerous_deserialization=True)
98
 
99
 
100
  background_prompt = '''