ppsingh commited on
Commit
e292b3f
1 Parent(s): 05dce6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -288,7 +288,9 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
288
  """)
289
 
290
  (textbox
291
- .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox"))
 
 
292
  demo.queue()
293
 
294
  demo.launch()
 
288
  """)
289
 
290
  (textbox
291
+ .submit(start_chat, [textbox,chatbot], [textbox,tabs,chatbot],queue = False,api_name = "start_chat_textbox")
292
+ .then(chat, [textbox,chatbot, dropdown_sources,dropdown_reports], [chatbot,sources_textbox],concurrency_limit = 8,api_name = "chat_textbox"))
293
+
294
  demo.queue()
295
 
296
  demo.launch()