Spaces:
Running
Running
Update preset options and slider default values for improved configuration
Browse files
app.py
CHANGED
@@ -119,7 +119,6 @@ preset_options = [
|
|
119 |
{"label": "544x320, 241 frames", "width": 544, "height": 320, "num_frames": 241},
|
120 |
{"label": "512x320, 249 frames", "width": 512, "height": 320, "num_frames": 249},
|
121 |
{"label": "512x320, 257 frames", "width": 512, "height": 320, "num_frames": 257},
|
122 |
-
{"label": "Custom", "height": None, "width": None, "num_frames": None},
|
123 |
]
|
124 |
|
125 |
|
@@ -344,7 +343,7 @@ def create_advanced_options():
|
|
344 |
minimum=256,
|
345 |
maximum=1024,
|
346 |
step=64,
|
347 |
-
value=
|
348 |
visible=False,
|
349 |
)
|
350 |
width_slider = gr.Slider(
|
@@ -352,7 +351,7 @@ def create_advanced_options():
|
|
352 |
minimum=256,
|
353 |
maximum=1024,
|
354 |
step=64,
|
355 |
-
value=
|
356 |
visible=False,
|
357 |
)
|
358 |
num_frames_slider = gr.Slider(
|
@@ -360,7 +359,7 @@ def create_advanced_options():
|
|
360 |
minimum=1,
|
361 |
maximum=200,
|
362 |
step=1,
|
363 |
-
value=
|
364 |
visible=False,
|
365 |
)
|
366 |
|
|
|
119 |
{"label": "544x320, 241 frames", "width": 544, "height": 320, "num_frames": 241},
|
120 |
{"label": "512x320, 249 frames", "width": 512, "height": 320, "num_frames": 249},
|
121 |
{"label": "512x320, 257 frames", "width": 512, "height": 320, "num_frames": 257},
|
|
|
122 |
]
|
123 |
|
124 |
|
|
|
343 |
minimum=256,
|
344 |
maximum=1024,
|
345 |
step=64,
|
346 |
+
value=512,
|
347 |
visible=False,
|
348 |
)
|
349 |
width_slider = gr.Slider(
|
|
|
351 |
minimum=256,
|
352 |
maximum=1024,
|
353 |
step=64,
|
354 |
+
value=768,
|
355 |
visible=False,
|
356 |
)
|
357 |
num_frames_slider = gr.Slider(
|
|
|
359 |
minimum=1,
|
360 |
maximum=200,
|
361 |
step=1,
|
362 |
+
value=121,
|
363 |
visible=False,
|
364 |
)
|
365 |
|