Spaces:
Sleeping
Sleeping
crcdng
commited on
Commit
·
51c74c6
1
Parent(s):
8953e87
example
Browse files- Gradio_UI.py +4 -1
Gradio_UI.py
CHANGED
|
@@ -289,7 +289,10 @@ class GradioUI:
|
|
| 289 |
[text_input, file_uploads_log],
|
| 290 |
[stored_messages, text_input],
|
| 291 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 292 |
-
|
|
|
|
|
|
|
|
|
|
| 293 |
demo.launch(debug=True, share=True, **kwargs)
|
| 294 |
|
| 295 |
|
|
|
|
| 289 |
[text_input, file_uploads_log],
|
| 290 |
[stored_messages, text_input],
|
| 291 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 292 |
+
examples = gr.Examples(
|
| 293 |
+
examples=[["Tell me a joke with the current local time"],],
|
| 294 |
+
inputs=[text_input],
|
| 295 |
+
)
|
| 296 |
demo.launch(debug=True, share=True, **kwargs)
|
| 297 |
|
| 298 |
|