Nanboy commited on
Commit
09689f6
·
verified ·
1 Parent(s): 680e002

fix: remove gr.update() call for Gradio 5 compatibility

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def load_gallery(model_label: str, protection: str):
159
  ref_audio,
160
  target_audio,
161
  clean_clone,
162
- prot_ref or gr.update(visible=False),
163
  prot_clone,
164
  note_md,
165
  )
 
159
  ref_audio,
160
  target_audio,
161
  clean_clone,
162
+ prot_ref,
163
  prot_clone,
164
  note_md,
165
  )