Sadiaa commited on
Commit
48c0f45
·
verified ·
1 Parent(s): 35a5f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #chatbot = Comsatsbot(hf, llm, api_keys, chats_collection, paths)
43
- chatbot = Comsatsbot(hf, llm, api_keys, chats_collection, index_path=paths[0])
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