Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -91,10 +91,11 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
|
|
91 |
|
92 |
return output_paths # Return the list of completed output files
|
93 |
|
94 |
-
video_file = gr.
|
95 |
-
quality = gr.
|
96 |
-
|
97 |
-
|
|
|
98 |
|
99 |
iface = gr.Interface(
|
100 |
convert_video,
|
|
|
91 |
|
92 |
return output_paths # Return the list of completed output files
|
93 |
|
94 |
+
video_file = gr.File(label="Video File")
|
95 |
+
quality = gr.Dropdown(
|
96 |
+
choices=["18", "23", "27", "28", "32"], label="Quality", default="27")
|
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 |
iface = gr.Interface(
|
101 |
convert_video,
|