Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,8 +39,8 @@ db = client.get_database('chat_db') # Assume this is your database
|
|
| 39 |
chats_collection = db.get_collection('chats') # Collection to store chats
|
| 40 |
paths = ['FYP Supervisor Feedback.csv', 'urdu_data.csv', 'english_data.csv']
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
|
| 45 |
|
| 46 |
# Endpoint for creating a new chat ID
|
|
|
|
| 39 |
chats_collection = db.get_collection('chats') # Collection to store chats
|
| 40 |
paths = ['FYP Supervisor Feedback.csv', 'urdu_data.csv', 'english_data.csv']
|
| 41 |
|
| 42 |
+
chatbot = Comsatsbot(hf, llm, api_keys, chats_collection, paths)
|
| 43 |
+
|
| 44 |
|
| 45 |
|
| 46 |
# Endpoint for creating a new chat ID
|