Spaces:
Runtime error
Runtime error
Rename app.py to app1.py
Browse files- 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
|
|
|
|
| 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:
|