Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
|
|
| 92 |
quality = gr.inputs.Radio(["Low", "Medium", "High"], label="Quality", default="High")
|
| 93 |
aspect_ratio = gr.inputs.Radio(["16:9", "4:3", "1:1"], label="Aspect Ratio", default="16:9")
|
| 94 |
video_url = gr.inputs.Textbox(placeholder="or paste video url here", label="Video URL")
|
| 95 |
-
video_file = components.File(
|
| 96 |
|
| 97 |
interface = gr.Interface(
|
| 98 |
fn=convert_video,
|
|
|
|
| 92 |
quality = gr.inputs.Radio(["Low", "Medium", "High"], label="Quality", default="High")
|
| 93 |
aspect_ratio = gr.inputs.Radio(["16:9", "4:3", "1:1"], label="Aspect Ratio", default="16:9")
|
| 94 |
video_url = gr.inputs.Textbox(placeholder="or paste video url here", label="Video URL")
|
| 95 |
+
video_file = components.File(label="Your video file")
|
| 96 |
|
| 97 |
interface = gr.Interface(
|
| 98 |
fn=convert_video,
|