Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,8 @@ def get_answer(question, vector_db, corrected_exercises):
|
|
| 97 |
)
|
| 98 |
return response["choices"][0]["message"]["content"]
|
| 99 |
|
| 100 |
-
def chatbot_interface(
|
|
|
|
| 101 |
if not folder_path:
|
| 102 |
return "Please provide a folder path before asking a question."
|
| 103 |
|
|
|
|
| 97 |
)
|
| 98 |
return response["choices"][0]["message"]["content"]
|
| 99 |
|
| 100 |
+
def chatbot_interface(question):
|
| 101 |
+
folder_path = "/mnt/data/Data Analitics/"
|
| 102 |
if not folder_path:
|
| 103 |
return "Please provide a folder path before asking a question."
|
| 104 |
|