Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +3 -3
Gradio_UI.py
CHANGED
@@ -350,15 +350,15 @@ class GradioUI:
|
|
350 |
[upload_status, file_uploads_log],
|
351 |
)
|
352 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
353 |
-
|
354 |
text_input.submit(
|
355 |
self.log_user_message,
|
356 |
-
text_input,
|
357 |
#[text_input, file_uploads_log],
|
358 |
# outputs
|
359 |
[stored_messages, text_input],
|
360 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
361 |
-
|
362 |
gr.Examples(
|
363 |
examples=get_examples(),
|
364 |
inputs=text_input,
|
|
|
350 |
[upload_status, file_uploads_log],
|
351 |
)
|
352 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
353 |
+
|
354 |
text_input.submit(
|
355 |
self.log_user_message,
|
356 |
+
[text_input],
|
357 |
#[text_input, file_uploads_log],
|
358 |
# outputs
|
359 |
[stored_messages, text_input],
|
360 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
361 |
+
|
362 |
gr.Examples(
|
363 |
examples=get_examples(),
|
364 |
inputs=text_input,
|