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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,10 +6,11 @@ import gradio as gr
6
  def app(video_link):
7
  video_path = download_youtube_video(video_link)
8
  route('/')
 
9
  return video_path
10
 
11
  interface = gr.Interface(
12
- data = requests.get('data', ''), # Extracting data from URL query parameter
13
  fn=app,
14
  inputs=gr.Textbox(label="Enter YouTube link"),
15
  outputs=gr.Video(label = "video_path")
 
6
  def app(video_link):
7
  video_path = download_youtube_video(video_link)
8
  route('/')
9
+ data = requests.get('data', '') # Extracting data from URL query parameter
10
  return video_path
11
 
12
  interface = gr.Interface(
13
+
14
  fn=app,
15
  inputs=gr.Textbox(label="Enter YouTube link"),
16
  outputs=gr.Video(label = "video_path")