DeepBeepMeep commited on
Commit ·
5f1e69a
1
Parent(s): 31954e7
Fixed spelling
Browse files
wgp.py
CHANGED
|
@@ -178,9 +178,9 @@ def process_prompt_and_add_tasks(state, model_choice):
|
|
| 178 |
max_frames= inputs["max_frames"]
|
| 179 |
video_length = inputs["video_length"]
|
| 180 |
if max_frames ==0:
|
| 181 |
-
gr.Info(f"Warning : you have asked to reuse all the frames of the control Video in the Alternate Video
|
| 182 |
elif max_frames >= video_length:
|
| 183 |
-
gr.Info(f"The number of frames in the control Video to reuse ({max_frames}) in Alternate Video
|
| 184 |
return
|
| 185 |
|
| 186 |
if isinstance(image_refs, list):
|
|
@@ -3361,7 +3361,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Non
|
|
| 3361 |
("Transfer Human Motion from the Control Video", "PV"),
|
| 3362 |
("Transfer Depth from the Control Video", "DV"),
|
| 3363 |
("Recolorize the Control Video", "CV"),
|
| 3364 |
-
("Alternate Video
|
| 3365 |
("(adv) Video contains Open Pose, Depth or Black & White ", "V"),
|
| 3366 |
("(adv) Inpainting of Control Video using Mask Video ", "MV"),
|
| 3367 |
],
|
|
|
|
| 178 |
max_frames= inputs["max_frames"]
|
| 179 |
video_length = inputs["video_length"]
|
| 180 |
if max_frames ==0:
|
| 181 |
+
gr.Info(f"Warning : you have asked to reuse all the frames of the control Video in the Alternate Video Ending it. Please make sure the number of frames of the control Video is lower than the total number of frames to generate otherwise it won't make a difference.")
|
| 182 |
elif max_frames >= video_length:
|
| 183 |
+
gr.Info(f"The number of frames in the control Video to reuse ({max_frames}) in Alternate Video Ending can not be bigger than the total number of frames ({video_length}) to generate.")
|
| 184 |
return
|
| 185 |
|
| 186 |
if isinstance(image_refs, list):
|
|
|
|
| 3361 |
("Transfer Human Motion from the Control Video", "PV"),
|
| 3362 |
("Transfer Depth from the Control Video", "DV"),
|
| 3363 |
("Recolorize the Control Video", "CV"),
|
| 3364 |
+
("Alternate Video Ending", "OV"),
|
| 3365 |
("(adv) Video contains Open Pose, Depth or Black & White ", "V"),
|
| 3366 |
("(adv) Inpainting of Control Video using Mask Video ", "MV"),
|
| 3367 |
],
|