charliebaby2023 commited on
Commit
6f393e1
·
verified ·
1 Parent(s): b5fb62f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,10 +1,11 @@
1
  from youtube_video import download_youtube_video
2
  import requests
3
  import gradio as gr
4
- app = (video_link)
5
- @app.route('/')
6
  def app(video_link):
7
  video_path = download_youtube_video(video_link)
 
8
  return video_path
9
 
10
  interface = gr.Interface(
 
1
  from youtube_video import download_youtube_video
2
  import requests
3
  import gradio as gr
4
+
5
+
6
  def app(video_link):
7
  video_path = download_youtube_video(video_link)
8
+ route('/')
9
  return video_path
10
 
11
  interface = gr.Interface(