Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,8 @@ import gradio as gr
|
|
| 3 |
from utils.chatbot import answer_query_with_context
|
| 4 |
from utils.file_utils import load_database, load_embeddings, load_file
|
| 5 |
|
| 6 |
-
database_filepath = 'services.csv'
|
| 7 |
-
embeddings_filepath = 'document_embeddings.pkl'
|
| 8 |
|
| 9 |
database = load_database(database_filepath)
|
| 10 |
database_embeddings = load_embeddings(database, database_filepath, embeddings_filepath)
|
|
|
|
| 3 |
from utils.chatbot import answer_query_with_context
|
| 4 |
from utils.file_utils import load_database, load_embeddings, load_file
|
| 5 |
|
| 6 |
+
database_filepath = 'data/services.csv'
|
| 7 |
+
embeddings_filepath = 'data/document_embeddings.pkl'
|
| 8 |
|
| 9 |
database = load_database(database_filepath)
|
| 10 |
database_embeddings = load_embeddings(database, database_filepath, embeddings_filepath)
|