charliebaby2023
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
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 |
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(
|