Hev832 commited on
Commit
a8e769e
1 Parent(s): 4685793

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +0 -6
run.py CHANGED
@@ -28,10 +28,6 @@ def fetch(url, custom_name, ext):
28
  return filename
29
 
30
 
31
- def play_audio():
32
- audio_file_path = {filename}
33
- return Audio(audio_file_path)
34
-
35
  app = gr.Interface(
36
  theme='Hev832/EasyAndCool',
37
  fn=fetch,
@@ -41,8 +37,6 @@ app = gr.Interface(
41
  gr.Dropdown(value="wav", label="format")
42
  ],
43
  outputs=gr.File(label="Download the file!"),
44
- show=True,
45
- capture_session=True),
46
  description="<div style='font-size:30px; text-align:center;'>YouTube wav downloader</div>"
47
  )
48
 
 
28
  return filename
29
 
30
 
 
 
 
 
31
  app = gr.Interface(
32
  theme='Hev832/EasyAndCool',
33
  fn=fetch,
 
37
  gr.Dropdown(value="wav", label="format")
38
  ],
39
  outputs=gr.File(label="Download the file!"),
 
 
40
  description="<div style='font-size:30px; text-align:center;'>YouTube wav downloader</div>"
41
  )
42