Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ class QAChatbot:
|
|
110 |
return response
|
111 |
|
112 |
# --- 5. Створення Gradio інтерфейсу ---
|
113 |
-
def chatbot_interface(query):
|
114 |
file_paths = ["company.txt", "Base.txt"] # Вкажіть ваші файли
|
115 |
documents = load_documents(file_paths)
|
116 |
|
|
|
110 |
return response
|
111 |
|
112 |
# --- 5. Створення Gradio інтерфейсу ---
|
113 |
+
def chatbot_interface(query, history):
|
114 |
file_paths = ["company.txt", "Base.txt"] # Вкажіть ваші файли
|
115 |
documents = load_documents(file_paths)
|
116 |
|