Spaces:
Running
Running
eranlevinlt
commited on
Commit
•
468d42f
1
Parent(s):
4e510bd
..
Browse files
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": "
|
93 |
-
{"label": "
|
94 |
-
{"label": "
|
95 |
-
{"label": "
|
96 |
-
{"label": "
|
97 |
-
{"label": "
|
98 |
-
{"label": "
|
99 |
-
{"label": "
|
100 |
-
{"label": "
|
101 |
-
{"label": "
|
102 |
-
{"label": "
|
103 |
-
{"label": "
|
104 |
-
{"label": "
|
105 |
-
{"label": "
|
106 |
-
{"label": "
|
107 |
-
{"label": "
|
108 |
-
{"label": "
|
109 |
-
{"label": "
|
110 |
-
{"label": "
|
111 |
-
{"label": "
|
112 |
-
{"label": "
|
113 |
-
{"label": "
|
114 |
-
{"label": "
|
115 |
-
{"label": "
|
116 |
-
{"label": "
|
117 |
-
{"label": "
|
118 |
-
{"label": "
|
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 |
|