Spaces:
Running
Running
Update GRADIO_UI.py
Browse files- 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,
|
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 |
|