Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -97,12 +97,12 @@ quality = gr.Dropdown(
|
|
97 |
aspect_ratio = gr.Textbox(default="16:9", lines=1, label="Aspect ratio (width:height)")
|
98 |
video_url = gr.Textbox(label="Or enter video URL")
|
99 |
|
100 |
-
|
101 |
-
convert_video,
|
102 |
-
[video_file, quality, aspect_ratio, video_url],
|
103 |
-
gr.
|
104 |
-
title="Video
|
105 |
-
description="
|
|
|
106 |
)
|
107 |
-
|
108 |
-
iface.launch()
|
|
|
97 |
aspect_ratio = gr.Textbox(default="16:9", lines=1, label="Aspect ratio (width:height)")
|
98 |
video_url = gr.Textbox(label="Or enter video URL")
|
99 |
|
100 |
+
interface = gr.Interface(
|
101 |
+
fn=convert_video,
|
102 |
+
inputs=[video_file, quality, aspect_ratio, video_url],
|
103 |
+
outputs=gr.Textbox(label="Output"),
|
104 |
+
title="Video Converter",
|
105 |
+
description="A simple video converter app",
|
106 |
+
allow_flagging=False,
|
107 |
)
|
108 |
+
interface.launch()
|
|