Salman11223 commited on
Commit
92fca80
1 Parent(s): da4fff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,14 +11,14 @@ def app(video_link):
11
  print(f"An error occurred: {str(e)}")
12
  return None
13
 
14
- # Function to trigger the download of the video file
15
- def download_file(video_path):
16
- gr.download(video_path, "downloaded_video.mp4")
17
 
18
  interface = gr.Interface(
19
  fn=app,
20
  inputs=gr.Textbox(label="Enter YouTube link"),
21
  outputs=gr.Video(label = "Video")
 
 
22
  )
23
 
24
  interface.launch(debug=True)
 
11
  print(f"An error occurred: {str(e)}")
12
  return None
13
 
14
+
 
 
15
 
16
  interface = gr.Interface(
17
  fn=app,
18
  inputs=gr.Textbox(label="Enter YouTube link"),
19
  outputs=gr.Video(label = "Video")
20
+
21
+ # outputs=gr.Video(label="Your result")
22
  )
23
 
24
  interface.launch(debug=True)