arslan-ahmed commited on
Commit
7869db9
1 Parent(s): bb9374d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -294,7 +294,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue='orange', secondary_hue='gray
294
  stdlQs_rb.change(**advSet_args)
295
 
296
  # Initialize button
297
- initCb_args = {'fn':initializeChatbot, 'inputs':[temp_sld, k_sld, model_dd, stdlQs_rb, api_key_state, chromaVS_state], 'outputs':[qa_state, model_dd, btn, initChatbot_btn, oaiKey_tb, tabs, chatbot]}
298
  if mode.type=='personalBot':
299
  demo.load(**initCb_args) # load Chatbot UI directly on startup
300
  initChatbot_btn.click(**initCb_args)
 
294
  stdlQs_rb.change(**advSet_args)
295
 
296
  # Initialize button
297
+ initCb_args = {'fn':initializeChatbot, 'inputs':[temp_sld, k_sld, model_dd, stdlQs_rb, api_key_state, chromaVS_state], 'outputs':[qa_state, model_dd, btn, initChatbot_btn, status_tb, tabs, chatbot]}
298
  if mode.type=='personalBot':
299
  demo.load(**initCb_args) # load Chatbot UI directly on startup
300
  initChatbot_btn.click(**initCb_args)