mmhss commited on
Commit
d263079
·
verified ·
1 Parent(s): b9883fc

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +3 -3
Gradio_UI.py CHANGED
@@ -266,12 +266,12 @@ class GradioUI:
266
  file_uploads_log = gr.State([])
267
  chatbot = gr.Chatbot(
268
  label="Agent",
269
- type="messages",
270
  avatar_images=(
271
  None,
272
  "https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/communication/Alfred.png",
273
  ),
274
- resizeable=True,
275
  scale=1,
276
  )
277
  # If an upload folder is provided, enable the upload feature
@@ -290,7 +290,7 @@ class GradioUI:
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
 
296
  __all__ = ["stream_to_gradio", "GradioUI"]
 
266
  file_uploads_log = gr.State([])
267
  chatbot = gr.Chatbot(
268
  label="Agent",
269
+
270
  avatar_images=(
271
  None,
272
  "https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/communication/Alfred.png",
273
  ),
274
+
275
  scale=1,
276
  )
277
  # If an upload folder is provided, enable the upload feature
 
290
  [stored_messages, text_input],
291
  ).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
292
 
293
+ demo.launch(debug=True, **kwargs)
294
 
295
 
296
  __all__ = ["stream_to_gradio", "GradioUI"]