inoculatemedia commited on
Commit
68f9c54
·
verified ·
1 Parent(s): 86a0e87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -68,6 +68,7 @@ def sample(
68
  base_count = len(glob(os.path.join(output_folder, "*.mp4")))
69
  video_path = os.path.join(output_folder, f"{base_count:06d}.mp4")
70
  res_variants = {
 
71
  '16:9 (672x384)': '672x384',
72
  '9:16 (384x672)': '384x672',
73
  '1:1 (512x512)': '512x512',
@@ -152,8 +153,8 @@ with gr.Blocks() as demo:
152
  with gr.Column():
153
  aspect_ratio = gr.Dropdown(
154
  label="Aspect ratio",
155
- choices=["16:9 (672x384)", "9:16 (384x672)", "1:1 (512x512)", "1:2 (352x736)", "2:1 (736x352)"],
156
- value="16:9 (672x384)"
157
  )
158
  generate_btn = gr.Button("Generate Video")
159
 
 
68
  base_count = len(glob(os.path.join(output_folder, "*.mp4")))
69
  video_path = os.path.join(output_folder, f"{base_count:06d}.mp4")
70
  res_variants = {
71
+ '16:9 (1240x720)': '1240x720/////////////////////////////',
72
  '16:9 (672x384)': '672x384',
73
  '9:16 (384x672)': '384x672',
74
  '1:1 (512x512)': '512x512',
 
153
  with gr.Column():
154
  aspect_ratio = gr.Dropdown(
155
  label="Aspect ratio",
156
+ choices=["16:9 (1240x720)","16:9 (672x384)", "9:16 (384x672)", "1:1 (512x512)", "1:2 (352x736)", "2:1 (736x352)"],
157
+ value="16:9 (1240x720)"
158
  )
159
  generate_btn = gr.Button("Generate Video")
160