Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
160 |
run_button.click(run_asr, inputs=[audio_input, youtube_input], outputs=[result])
|
161 |
|
162 |
def update_button_state(audio, youtube_url):
|
163 |
-
print(audio, youtube_url
|
164 |
# Button is interactive if there's input and progress is 0 or 1 (not in progress)
|
165 |
return gr.Button(interactive=bool(audio) or bool(youtube_url))
|
166 |
|
|
|
160 |
run_button.click(run_asr, inputs=[audio_input, youtube_input], outputs=[result])
|
161 |
|
162 |
def update_button_state(audio, youtube_url):
|
163 |
+
print(audio, youtube_url)
|
164 |
# Button is interactive if there's input and progress is 0 or 1 (not in progress)
|
165 |
return gr.Button(interactive=bool(audio) or bool(youtube_url))
|
166 |
|