ppsingh commited on
Commit
0949856
1 Parent(s): e3761f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -272,13 +272,13 @@ with gr.Blocks(title="Audit Q&A", css="style.css", theme=theme,elem_id = "main-c
272
 
273
  (textbox
274
  .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox")
275
- .then(chat, [textbox,chatbot,dropdown_audience, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query,output_language],concurrency_limit = 8,api_name = "chat_textbox")
276
  .then(finish_chat, None, [textbox],api_name = "finish_chat_textbox")
277
  )
278
 
279
  (examples_hidden
280
  .change(start_chat, [examples_hidden,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_examples")
281
- .then(chat, [examples_hidden,chatbot,dropdown_audience, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query,output_language],concurrency_limit = 8,api_name = "chat_examples")
282
  .then(finish_chat, None, [textbox],api_name = "finish_chat_examples")
283
  )
284
 
 
272
 
273
  (textbox
274
  .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox")
275
+ .then(chat, [textbox,chatbot, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query],concurrency_limit = 8,api_name = "chat_textbox")
276
  .then(finish_chat, None, [textbox],api_name = "finish_chat_textbox")
277
  )
278
 
279
  (examples_hidden
280
  .change(start_chat, [examples_hidden,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_examples")
281
+ .then(chat, [examples_hidden,chatbot, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query],concurrency_limit = 8,api_name = "chat_examples")
282
  .then(finish_chat, None, [textbox],api_name = "finish_chat_examples")
283
  )
284