eranlevinlt commited on
Commit
468d42f
1 Parent(s): 4e510bd
Files changed (1) hide show
  1. app.py +27 -27
app.py CHANGED
@@ -89,33 +89,33 @@ def load_image_to_tensor_with_resize(image_path, target_height=512, target_width
89
 
90
  # Preset options for resolution and frame configuration
91
  preset_options = [
92
- {"label": "704x1216, 41 frames", "height": 704, "width": 1216, "num_frames": 41},
93
- {"label": "704x1088, 49 frames", "height": 704, "width": 1088, "num_frames": 49},
94
- {"label": "640x1056, 57 frames", "height": 640, "width": 1056, "num_frames": 57},
95
- {"label": "608x992, 65 frames", "height": 608, "width": 992, "num_frames": 65},
96
- {"label": "608x896, 73 frames", "height": 608, "width": 896, "num_frames": 73},
97
- {"label": "544x896, 81 frames", "height": 544, "width": 896, "num_frames": 81},
98
- {"label": "544x832, 89 frames", "height": 544, "width": 832, "num_frames": 89},
99
- {"label": "512x800, 97 frames", "height": 512, "width": 800, "num_frames": 97},
100
- {"label": "512x768, 97 frames", "height": 512, "width": 768, "num_frames": 97},
101
- {"label": "480x800, 105 frames", "height": 480, "width": 800, "num_frames": 105},
102
- {"label": "480x736, 113 frames", "height": 480, "width": 736, "num_frames": 113},
103
- {"label": "480x704, 121 frames", "height": 480, "width": 704, "num_frames": 121},
104
- {"label": "448x704, 129 frames", "height": 448, "width": 704, "num_frames": 129},
105
- {"label": "448x672, 137 frames", "height": 448, "width": 672, "num_frames": 137},
106
- {"label": "416x640, 153 frames", "height": 416, "width": 640, "num_frames": 153},
107
- {"label": "384x672, 161 frames", "height": 384, "width": 672, "num_frames": 161},
108
- {"label": "384x640, 169 frames", "height": 384, "width": 640, "num_frames": 169},
109
- {"label": "384x608, 177 frames", "height": 384, "width": 608, "num_frames": 177},
110
- {"label": "384x576, 185 frames", "height": 384, "width": 576, "num_frames": 185},
111
- {"label": "352x608, 193 frames", "height": 352, "width": 608, "num_frames": 193},
112
- {"label": "352x576, 201 frames", "height": 352, "width": 576, "num_frames": 201},
113
- {"label": "352x544, 209 frames", "height": 352, "width": 544, "num_frames": 209},
114
- {"label": "352x512, 225 frames", "height": 352, "width": 512, "num_frames": 225},
115
- {"label": "352x512, 233 frames", "height": 352, "width": 512, "num_frames": 233},
116
- {"label": "320x544, 241 frames", "height": 320, "width": 544, "num_frames": 241},
117
- {"label": "320x512, 249 frames", "height": 320, "width": 512, "num_frames": 249},
118
- {"label": "320x512, 257 frames", "height": 320, "width": 512, "num_frames": 257},
119
  {"label": "Custom", "height": None, "width": None, "num_frames": None}
120
  ]
121
 
 
89
 
90
  # Preset options for resolution and frame configuration
91
  preset_options = [
92
+ {"label": "1216x704, 41 frames", "width": 1216, "height": 704, "num_frames": 41},
93
+ {"label": "1088x704, 49 frames", "width": 1088, "height": 704, "num_frames": 49},
94
+ {"label": "1056x640, 57 frames", "width": 1056, "height": 640, "num_frames": 57},
95
+ {"label": "992x608, 65 frames", "width": 992, "height": 608, "num_frames": 65},
96
+ {"label": "896x608, 73 frames", "width": 896, "height": 608, "num_frames": 73},
97
+ {"label": "896x544, 81 frames", "width": 896, "height": 544, "num_frames": 81},
98
+ {"label": "832x544, 89 frames", "width": 832, "height": 544, "num_frames": 89},
99
+ {"label": "800x512, 97 frames", "width": 800, "height": 512, "num_frames": 97},
100
+ {"label": "768x512, 97 frames", "width": 768, "height": 512, "num_frames": 97},
101
+ {"label": "800x480, 105 frames", "width": 800, "height": 480, "num_frames": 105},
102
+ {"label": "736x480, 113 frames", "width": 736, "height": 480, "num_frames": 113},
103
+ {"label": "704x480, 121 frames", "width": 704, "height": 480, "num_frames": 121},
104
+ {"label": "704x448, 129 frames", "width": 704, "height": 448, "num_frames": 129},
105
+ {"label": "672x448, 137 frames", "width": 672, "height": 448, "num_frames": 137},
106
+ {"label": "640x416, 153 frames", "width": 640, "height": 416, "num_frames": 153},
107
+ {"label": "672x384, 161 frames", "width": 672, "height": 384, "num_frames": 161},
108
+ {"label": "640x384, 169 frames", "width": 640, "height": 384, "num_frames": 169},
109
+ {"label": "608x384, 177 frames", "width": 608, "height": 384, "num_frames": 177},
110
+ {"label": "576x384, 185 frames", "width": 576, "height": 384, "num_frames": 185},
111
+ {"label": "608x352, 193 frames", "width": 608, "height": 352, "num_frames": 193},
112
+ {"label": "576x352, 201 frames", "width": 576, "height": 352, "num_frames": 201},
113
+ {"label": "544x352, 209 frames", "width": 544, "height": 352, "num_frames": 209},
114
+ {"label": "512x352, 225 frames", "width": 512, "height": 352, "num_frames": 225},
115
+ {"label": "512x352, 233 frames", "width": 512, "height": 352, "num_frames": 233},
116
+ {"label": "544x320, 241 frames", "width": 544, "height": 320, "num_frames": 241},
117
+ {"label": "512x320, 249 frames", "width": 512, "height": 320, "num_frames": 249},
118
+ {"label": "512x320, 257 frames", "width": 512, "height": 320, "num_frames": 257},
119
  {"label": "Custom", "height": None, "width": None, "num_frames": None}
120
  ]
121