Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
from youtube_video import download_youtube_video
|
2 |
-
#from flask import Flask, request, render_template
|
3 |
import requests
|
4 |
import gradio as gr
|
5 |
|
@@ -10,8 +9,7 @@ def app(video_link):
|
|
10 |
interface = gr.Interface(
|
11 |
data = requests.get('data', ''), # Extracting data from URL query parameter
|
12 |
fn=app,
|
13 |
-
inputs=
|
14 |
-
#gr.Textbox(label="Enter YouTube link"),
|
15 |
outputs=gr.Video(label = "video_path")
|
16 |
)
|
17 |
|
|
|
1 |
from youtube_video import download_youtube_video
|
|
|
2 |
import requests
|
3 |
import gradio as gr
|
4 |
|
|
|
9 |
interface = gr.Interface(
|
10 |
data = requests.get('data', ''), # Extracting data from URL query parameter
|
11 |
fn=app,
|
12 |
+
inputs=gr.Textbox(label="Enter YouTube link"),
|
|
|
13 |
outputs=gr.Video(label = "video_path")
|
14 |
)
|
15 |
|