Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ import aoti
|
|
| 19 |
|
| 20 |
MODEL_ID = "Wan-AI/Wan2.2-I2V-A14B-Diffusers"
|
| 21 |
|
| 22 |
-
MAX_DIM =
|
| 23 |
MIN_DIM = 480
|
| 24 |
-
SQUARE_DIM =
|
| 25 |
MULTIPLE_OF = 16
|
| 26 |
|
| 27 |
MAX_SEED = np.iinfo(np.int32).max
|
|
@@ -216,7 +216,7 @@ def generate_video(
|
|
| 216 |
negative_prompt=negative_prompt,
|
| 217 |
height=resized_image.height,
|
| 218 |
width=resized_image.width,
|
| 219 |
-
num_frames=
|
| 220 |
guidance_scale=float(guidance_scale),
|
| 221 |
guidance_scale_2=float(guidance_scale_2),
|
| 222 |
num_inference_steps=int(steps),
|
|
|
|
| 19 |
|
| 20 |
MODEL_ID = "Wan-AI/Wan2.2-I2V-A14B-Diffusers"
|
| 21 |
|
| 22 |
+
MAX_DIM = 640
|
| 23 |
MIN_DIM = 480
|
| 24 |
+
SQUARE_DIM = 512
|
| 25 |
MULTIPLE_OF = 16
|
| 26 |
|
| 27 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
|
| 216 |
negative_prompt=negative_prompt,
|
| 217 |
height=resized_image.height,
|
| 218 |
width=resized_image.width,
|
| 219 |
+
num_frames= 120,
|
| 220 |
guidance_scale=float(guidance_scale),
|
| 221 |
guidance_scale_2=float(guidance_scale_2),
|
| 222 |
num_inference_steps=int(steps),
|