Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -565,7 +565,7 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
565 |
.submit(get_client_ip_handler, [textbox], [client_ip], api_name="get_ip_textbox")
|
566 |
.then(start_chat, [textbox, chatbot], [textbox, tabs, chatbot], queue=False, api_name="start_chat_textbox")
|
567 |
.then(chat,
|
568 |
-
[textbox, chatbot, dropdown_sources, dropdown_reports, dropdown_category,
|
569 |
[chatbot, sources_textbox, feedback_state, session_id],
|
570 |
queue=True, concurrency_limit=8, api_name="chat_textbox")
|
571 |
.then(show_feedback, [feedback_state], [feedback_row, feedback_thanks, feedback_state], api_name="show_feedback_textbox")
|
@@ -575,7 +575,7 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
575 |
.change(start_chat, [examples_hidden, chatbot], [textbox, tabs, chatbot], queue=False, api_name="start_chat_examples")
|
576 |
.then(get_client_ip_handler, [examples_hidden], [client_ip], api_name="get_ip_examples")
|
577 |
.then(chat,
|
578 |
-
[examples_hidden, chatbot, dropdown_sources, dropdown_reports, dropdown_category,
|
579 |
[chatbot, sources_textbox, feedback_state, session_id],
|
580 |
concurrency_limit=8, api_name="chat_examples")
|
581 |
.then(show_feedback, [feedback_state], [feedback_row, feedback_thanks, feedback_state], api_name="show_feedback_examples")
|
|
|
565 |
.submit(get_client_ip_handler, [textbox], [client_ip], api_name="get_ip_textbox")
|
566 |
.then(start_chat, [textbox, chatbot], [textbox, tabs, chatbot], queue=False, api_name="start_chat_textbox")
|
567 |
.then(chat,
|
568 |
+
[textbox, chatbot, dropdown_sources, dropdown_reports, dropdown_category, client_ip, session_id],
|
569 |
[chatbot, sources_textbox, feedback_state, session_id],
|
570 |
queue=True, concurrency_limit=8, api_name="chat_textbox")
|
571 |
.then(show_feedback, [feedback_state], [feedback_row, feedback_thanks, feedback_state], api_name="show_feedback_textbox")
|
|
|
575 |
.change(start_chat, [examples_hidden, chatbot], [textbox, tabs, chatbot], queue=False, api_name="start_chat_examples")
|
576 |
.then(get_client_ip_handler, [examples_hidden], [client_ip], api_name="get_ip_examples")
|
577 |
.then(chat,
|
578 |
+
[examples_hidden, chatbot, dropdown_sources, dropdown_reports, dropdown_category, client_ip, session_id],
|
579 |
[chatbot, sources_textbox, feedback_state, session_id],
|
580 |
concurrency_limit=8, api_name="chat_examples")
|
581 |
.then(show_feedback, [feedback_state], [feedback_row, feedback_thanks, feedback_state], api_name="show_feedback_examples")
|