Spaces:
Running
Running
crcdng
commited on
Commit
·
abe49b2
1
Parent(s):
c62f6f5
fix
Browse files- Gradio_UI.py +1 -1
Gradio_UI.py
CHANGED
@@ -344,7 +344,7 @@ class GradioUI:
|
|
344 |
)
|
345 |
with gr.Row():
|
346 |
steps_input = gr.Slider(1, 12, value=4, step=1, label="Max. Number of Steps")
|
347 |
-
steps_input.change(self.agent_set_steps,
|
348 |
gr.Dropdown(choices=self.agent_get_tools(), label="Tools (display only)")
|
349 |
reset = gr.Button(value="Reset Agent")
|
350 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|
|
|
344 |
)
|
345 |
with gr.Row():
|
346 |
steps_input = gr.Slider(1, 12, value=4, step=1, label="Max. Number of Steps")
|
347 |
+
steps_input.change(self.agent_set_steps, steps_input, None)
|
348 |
gr.Dropdown(choices=self.agent_get_tools(), label="Tools (display only)")
|
349 |
reset = gr.Button(value="Reset Agent")
|
350 |
text_input = gr.Textbox(lines=1, label="Chat Message")
|