xichen98cn commited on
Commit
dea5544
1 Parent(s): dd0c652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -191,9 +191,9 @@ with gr.Blocks(title=title,
191
  _js=f"""() => {json.dumps(
192
  [component.cleared_value if hasattr(component, "cleared_value") else None
193
  for component in input_components + output_components] + (
194
- [gr.Column.update(visible=True)]
195
  )
196
- + ([gr.Column.update(visible=False)])
197
  )}
198
  """,
199
  )
 
191
  _js=f"""() => {json.dumps(
192
  [component.cleared_value if hasattr(component, "cleared_value") else None
193
  for component in input_components + output_components] + (
194
+ [gr.Column(visible=True)]
195
  )
196
+ + ([gr.Column(visible=False)])
197
  )}
198
  """,
199
  )