jerrypan7 commited on
Commit
545db00
·
verified ·
1 Parent(s): 910e858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, progress)
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