Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,10 +53,10 @@ def process_translate(language: str, audio_path: str) -> str:
|
|
| 53 |
|
| 54 |
|
| 55 |
def disable_buttons():
|
| 56 |
-
return gr.update(interactive=False), gr.update(interactive=False)
|
| 57 |
|
| 58 |
def enable_buttons():
|
| 59 |
-
return gr.update(interactive=True), gr.update(interactive=True)
|
| 60 |
###
|
| 61 |
|
| 62 |
### Initializations
|
|
|
|
| 53 |
|
| 54 |
|
| 55 |
def disable_buttons():
|
| 56 |
+
return gr.update(interactive=False), gr.update(interactive=False), gr.update(interactive=False)
|
| 57 |
|
| 58 |
def enable_buttons():
|
| 59 |
+
return gr.update(interactive=True), gr.update(interactive=True), gr.update(interactive=False)
|
| 60 |
###
|
| 61 |
|
| 62 |
### Initializations
|