Spaces:
Running
Running
Update GRADIO_UI.py
Browse files- GRADIO_UI.py +1 -0
GRADIO_UI.py
CHANGED
@@ -217,6 +217,7 @@ 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 |
text_input.submit(self.interact_with_agent, [text_input, api_key_input, stored_messages], [chatbot])
|
221 |
|
222 |
demo.launch(debug=True, **kwargs)
|
|
|
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)
|