ppsingh commited on
Commit
4739ff2
1 Parent(s): 7ef8e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,13 +153,13 @@ with gr.Blocks(title="Audit Q&A", css="style.css", theme=theme,elem_id = "main-c
153
 
154
  (textbox
155
  .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox")
156
- .then(chat, [textbox,chatbot,dropdown_audience, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query,output_language,query_papers,keywords_papers],concurrency_limit = 8,api_name = "chat_textbox")
157
  .then(finish_chat, None, [textbox],api_name = "finish_chat_textbox")
158
  )
159
 
160
  (examples_hidden
161
  .change(start_chat, [examples_hidden,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_examples")
162
- .then(chat, [examples_hidden,chatbot,dropdown_audience, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query,output_language,query_papers,keywords_papers],concurrency_limit = 8,api_name = "chat_examples")
163
  .then(finish_chat, None, [textbox],api_name = "finish_chat_examples")
164
  )
165
 
 
153
 
154
  (textbox
155
  .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox")
156
+ .then(chat, [textbox,chatbot,dropdown_audience, dropdown_sources,dropdown_reports], [chatbot,sources_textbox,output_query,output_language],concurrency_limit = 8,api_name = "chat_textbox")
157
  .then(finish_chat, None, [textbox],api_name = "finish_chat_textbox")
158
  )
159
 
160
  (examples_hidden
161
  .change(start_chat, [examples_hidden,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_examples")
162
+ .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")
163
  .then(finish_chat, None, [textbox],api_name = "finish_chat_examples")
164
  )
165