SergeyO7 commited on
Commit
a27c982
·
verified ·
1 Parent(s): 7b313ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -65,8 +65,7 @@ def save_to_faiss(chunks: list[Document]):
65
  return FAISS.from_documents(chunks, embeddings)
66
 
67
  def process_query(query_text: str, vectorstore):
68
- if vectorstore is
69
- None:
70
  return "База данных не инициализирована", []
71
 
72
  try:
 
65
  return FAISS.from_documents(chunks, embeddings)
66
 
67
  def process_query(query_text: str, vectorstore):
68
+ if vectorstore is None:
 
69
  return "База данных не инициализирована", []
70
 
71
  try: