MihaiHuggingFace
commited on
Update cogvideox/ui/ui.py
Browse files- cogvideox/ui/ui.py +1 -1
cogvideox/ui/ui.py
CHANGED
@@ -1557,7 +1557,7 @@ def ui_eas(model_name, savedir_sample):
|
|
1557 |
|
1558 |
def upload_generation_method(generation_method):
|
1559 |
if generation_method == "Video Generation":
|
1560 |
-
return gr.update(visible=True, minimum=5, maximum=
|
1561 |
elif generation_method == "Image Generation":
|
1562 |
return gr.update(minimum=1, maximum=1, value=1, interactive=False)
|
1563 |
generation_method.change(
|
|
|
1557 |
|
1558 |
def upload_generation_method(generation_method):
|
1559 |
if generation_method == "Video Generation":
|
1560 |
+
return gr.update(visible=True, minimum=5, maximum=239, value=239, interactive=True)
|
1561 |
elif generation_method == "Image Generation":
|
1562 |
return gr.update(minimum=1, maximum=1, value=1, interactive=False)
|
1563 |
generation_method.change(
|