Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -112,6 +112,7 @@ video_file = gr.File(label="Video File")
|
|
112 |
quality = gr.Dropdown(
|
113 |
choices=["18", "23", "27", "28", "32"], label="Quality", default="27")
|
114 |
aspect_ratio = gr.Textbox(default="16:9", lines=1, label="Aspect ratio (width:height)")
|
|
|
115 |
video_url = gr.Textbox(label="Or enter video URL")
|
116 |
|
117 |
interface = gr.Interface(
|
|
|
112 |
quality = gr.Dropdown(
|
113 |
choices=["18", "23", "27", "28", "32"], label="Quality", default="27")
|
114 |
aspect_ratio = gr.Textbox(default="16:9", lines=1, label="Aspect ratio (width:height)")
|
115 |
+
standard_resolutions = [4320, 2160, 1440, 1080, 720, 480, 360, 240, 144] # 8K, 4K, 2K, Full HD, HD, SD in pixels
|
116 |
video_url = gr.Textbox(label="Or enter video URL")
|
117 |
|
118 |
interface = gr.Interface(
|