Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +4 -8
Gradio_UI.py
CHANGED
|
@@ -340,14 +340,10 @@ class GradioUI:
|
|
| 340 |
[text_input, file_uploads_log],
|
| 341 |
[stored_messages, text_input],
|
| 342 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
#. outputs=[result, seed],
|
| 348 |
-
# fn=generate,
|
| 349 |
-
#. cache_examples=False,
|
| 350 |
-
#)
|
| 351 |
gr.Markdown( agent_footer )
|
| 352 |
|
| 353 |
demo.launch(debug=True, share=True, **kwargs)
|
|
|
|
| 340 |
[text_input, file_uploads_log],
|
| 341 |
[stored_messages, text_input],
|
| 342 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 343 |
+
gr.Examples(
|
| 344 |
+
examples=get_examples(),
|
| 345 |
+
inputs=prompt
|
| 346 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 347 |
gr.Markdown( agent_footer )
|
| 348 |
|
| 349 |
demo.launch(debug=True, share=True, **kwargs)
|