Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +8 -1
Gradio_UI.py
CHANGED
|
@@ -277,7 +277,9 @@ class GradioUI:
|
|
| 277 |
gr.Markdown(
|
| 278 |
"""
|
| 279 |
# Content Agent
|
| 280 |
-
|
|
|
|
|
|
|
| 281 |
"""
|
| 282 |
)
|
| 283 |
stored_messages = gr.State([])
|
|
@@ -307,6 +309,11 @@ class GradioUI:
|
|
| 307 |
[text_input, file_uploads_log],
|
| 308 |
[stored_messages, text_input],
|
| 309 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 310 |
|
| 311 |
demo.launch(debug=True, share=True, **kwargs)
|
| 312 |
|
|
|
|
| 277 |
gr.Markdown(
|
| 278 |
"""
|
| 279 |
# Content Agent
|
| 280 |
+
|
| 281 |
+
If you specify your timezon, I can fetch the current local time.
|
| 282 |
+
If you provide me with text, I can check to see whether the content is considered polite or not.
|
| 283 |
"""
|
| 284 |
)
|
| 285 |
stored_messages = gr.State([])
|
|
|
|
| 309 |
[text_input, file_uploads_log],
|
| 310 |
[stored_messages, text_input],
|
| 311 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 312 |
+
gr.Markdown(
|
| 313 |
+
"""
|
| 314 |
+
THANK YOU!
|
| 315 |
+
"""
|
| 316 |
+
)
|
| 317 |
|
| 318 |
demo.launch(debug=True, share=True, **kwargs)
|
| 319 |
|