MihaiHuggingFace commited on
Commit
7461961
·
verified ·
1 Parent(s): 14d2973

Update cogvideox/ui/ui.py

Browse files
Files changed (1) hide show
  1. 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=49, value=49, interactive=True)
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(