saburq commited on
Commit
c3b681a
·
1 Parent(s): 9a29800
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -216,8 +216,8 @@ with gr.Blocks(css="""
216
  # Clear function to reset to defaults
217
  def clear():
218
  return [
219
- gr.Slider.update(value=12),
220
- gr.Dropdown.update(value="2t"),
221
  None # Clear the plot
222
  ]
223
 
 
216
  # Clear function to reset to defaults
217
  def clear():
218
  return [
219
+ 12, # Reset slider to default value
220
+ "2t", # Reset dropdown to default value
221
  None # Clear the plot
222
  ]
223