Jeffgold commited on
Commit
2ec8771
·
1 Parent(s): a244f57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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(