Jeffgold commited on
Commit
2ace304
·
1 Parent(s): 4c21960

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def convert_video(video_file: File, quality, aspect_ratio, video_url):
82
  gr.outputs.Video(output_path)
83
 
84
  # Add a button to download the file
85
- gr.outputs.Button(label="Download", click=lambda: gr.download(output_path))
86
 
87
  from gradio import outputs
88
 
 
82
  gr.outputs.Video(output_path)
83
 
84
  # Add a button to download the file
85
+ gr.outputs.Download(label="Download", output_path=output_path)
86
 
87
  from gradio import outputs
88