Spaces:
Sleeping
Sleeping
UI update
Browse files- Gradio_UI.py +3 -1
Gradio_UI.py
CHANGED
|
@@ -291,7 +291,9 @@ class GradioUI:
|
|
| 291 |
[stored_messages, text_input],
|
| 292 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 293 |
|
| 294 |
-
|
|
|
|
|
|
|
| 295 |
|
| 296 |
|
| 297 |
__all__ = ["stream_to_gradio", "GradioUI"]
|
|
|
|
| 291 |
[stored_messages, text_input],
|
| 292 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 293 |
|
| 294 |
+
launch_kwargs = {"debug": True, "share": True}
|
| 295 |
+
launch_kwargs.update(kwargs)
|
| 296 |
+
demo.launch(**launch_kwargs)
|
| 297 |
|
| 298 |
|
| 299 |
__all__ = ["stream_to_gradio", "GradioUI"]
|