Loomisgitarrist's picture
Update app.py
9df99af verified
raw
history blame contribute delete
396 Bytes
from youtube_video import download_youtube_video
import gradio as gr
def app(video_link):
video_path = download_youtube_video(video_link)
return video_path
interface = gr.Interface(
fn=app,
inputs=gr.Textbox(label="Enter YouTube link 🔗 To Download Video⬇️ "),
outputs=gr.Video(label="video_path"),
title="Youtube Download LG 📹"
)
interface.launch(debug=True)