Update app.py
Browse files
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
|