Hev832 commited on
Commit
4685793
·
verified ·
1 Parent(s): 3df3584

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -3
run.py CHANGED
@@ -32,11 +32,9 @@ def play_audio():
32
  audio_file_path = {filename}
33
  return Audio(audio_file_path)
34
 
35
- iface = gr.Interface(
36
-
37
  app = gr.Interface(
38
  theme='Hev832/EasyAndCool',
39
- fn=fetch, fn=play_audio,
40
  inputs=[
41
  gr.Textbox(label="YouTube video address", placeholder="Paste video link here..."),
42
  gr.Textbox(label="file name", placeholder="Defaults to video title"),
 
32
  audio_file_path = {filename}
33
  return Audio(audio_file_path)
34
 
 
 
35
  app = gr.Interface(
36
  theme='Hev832/EasyAndCool',
37
+ fn=fetch,
38
  inputs=[
39
  gr.Textbox(label="YouTube video address", placeholder="Paste video link here..."),
40
  gr.Textbox(label="file name", placeholder="Defaults to video title"),