LAP-DEV commited on
Commit
9fa4095
·
verified ·
1 Parent(s): a3d3ef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -373,7 +373,7 @@ class App:
373
  return gr.Checkbox(visible=True, value=False, label="Translate to English", interactive=True)
374
 
375
  @staticmethod
376
- def update_visibility(radio):
377
  if radio == "Single":
378
  input_file.visible = True
379
  input_file_multi.visible = False
 
373
  return gr.Checkbox(visible=True, value=False, label="Translate to English", interactive=True)
374
 
375
  @staticmethod
376
+ def update_visibility(radio: str):
377
  if radio == "Single":
378
  input_file.visible = True
379
  input_file_multi.visible = False