arslan-ahmed commited on
Commit
6e4113b
1 Parent(s): f56e647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -68,8 +68,6 @@ def initializeChatbot(temp, k, modelName, stdlQs, api_key_st, vsDict_st, progres
68
  else:
69
  welMsg = qa_chain_st({'question': initialize_prompt, 'chat_history':[]})['answer']
70
  print('Chatbot initialized at ', datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
71
- # exSamples = generateExamples(api_key_st, vsDict_st)
72
- # exSamples_vis = True if exSamples[0] else False
73
 
74
  return qa_chain_st, btn.update(interactive=True), initChatbot_btn.update('Chatbot ready. Now visit the chatbot Tab.', interactive=False)\
75
  , aKey_tb.update(), gr.Tabs.update(selected='cb'), chatbot.update(value=[('', welMsg)])
 
68
  else:
69
  welMsg = qa_chain_st({'question': initialize_prompt, 'chat_history':[]})['answer']
70
  print('Chatbot initialized at ', datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
 
 
71
 
72
  return qa_chain_st, btn.update(interactive=True), initChatbot_btn.update('Chatbot ready. Now visit the chatbot Tab.', interactive=False)\
73
  , aKey_tb.update(), gr.Tabs.update(selected='cb'), chatbot.update(value=[('', welMsg)])