Firoj112 commited on
Commit
2db16da
·
verified ·
1 Parent(s): 6dd76d5

Update GRADIO_UI.py

Browse files
Files changed (1) hide show
  1. GRADIO_UI.py +2 -2
GRADIO_UI.py CHANGED
@@ -217,8 +217,8 @@ class GradioUI:
217
  text_input = gr.Textbox(
218
  lines=1, label="Enter URL and request (e.g., navigate to https://en.wikipedia.org/wiki/Nvidia, and provide me info on its history)"
219
  )
220
- messages = []
221
- text_input.submit(self.interact_with_agent, [text_input, api_key_input, stored_messages], [chatbot])
222
 
223
  demo.launch(debug=True, **kwargs)
224
 
 
217
  text_input = gr.Textbox(
218
  lines=1, label="Enter URL and request (e.g., navigate to https://en.wikipedia.org/wiki/Nvidia, and provide me info on its history)"
219
  )
220
+ messages = []
221
+ text_input.submit(self.interact_with_agent, [text_input, api_key_input, messages], [chatbot])
222
 
223
  demo.launch(debug=True, **kwargs)
224