SergeyO7 commited on
Commit
d0472a0
·
verified ·
1 Parent(s): 25529c7

Rename app.py to app1.py

Browse files
Files changed (1) hide show
  1. app.py → app1.py +2 -1
app.py → app1.py RENAMED
@@ -65,7 +65,8 @@ 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 None:
 
69
  return "База данных не инициализирована", []
70
 
71
  try:
 
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: