Jeffgold commited on
Commit
d2ceaee
·
1 Parent(s): 07853df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -86,7 +86,6 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
86
 
87
  return [{'name': path.stem, 'url': f"{path.name}"} for path in output_paths]
88
 
89
-
90
  video_file = gr.inputs.File(label="Video File")
91
  quality = gr.inputs.Dropdown(
92
  choices=["18", "23", "27", "28", "32"],
@@ -110,7 +109,7 @@ def format_output(output):
110
  interface = gr.Interface(
111
  fn=convert_video,
112
  inputs=[video_file, quality, aspect_ratio, video_url],
113
- outputs=gr.outputs.HTML(label="Download Links", type="html"),
114
  title="Video Converter",
115
  description="A simple video converter app",
116
  allow_flagging=False,
 
86
 
87
  return [{'name': path.stem, 'url': f"{path.name}"} for path in output_paths]
88
 
 
89
  video_file = gr.inputs.File(label="Video File")
90
  quality = gr.inputs.Dropdown(
91
  choices=["18", "23", "27", "28", "32"],
 
109
  interface = gr.Interface(
110
  fn=convert_video,
111
  inputs=[video_file, quality, aspect_ratio, video_url],
112
+ outputs=gr.outputs.HTML(label="Download Links"),
113
  title="Video Converter",
114
  description="A simple video converter app",
115
  allow_flagging=False,