Azie88 commited on
Commit
ff42bb7
·
1 Parent(s): a45084e

UI update

Browse files
Files changed (1) hide show
  1. 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
- demo.launch(debug=True, share=True, **kwargs)
 
 
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"]