Spaces:
Runtime error
Runtime error
Update wan2_fast.py
Browse files- wan2_fast.py +3 -3
wan2_fast.py
CHANGED
|
@@ -19,7 +19,7 @@ import os
|
|
| 19 |
|
| 20 |
## This is working well ##
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
## below model has a blury output but it get loaded
|
| 25 |
##MODEL_ID ="Runware/Wan2.2-TI2V-5B"
|
|
@@ -31,7 +31,7 @@ import os
|
|
| 31 |
|
| 32 |
#MODEL_ID ="linoyts/Wan2.2-T2V-A14B-Diffusers-BF16"
|
| 33 |
|
| 34 |
-
MODEL_ID = "Wan-AI/Wan2.2-TI2V-5B-Diffusers"
|
| 35 |
|
| 36 |
|
| 37 |
|
|
@@ -248,7 +248,7 @@ def get_duration(
|
|
| 248 |
@spaces.GPU(duration=get_duration)
|
| 249 |
def generate_video(prompt, height, width,
|
| 250 |
negative_prompt=default_negative_prompt, duration_seconds = 2,
|
| 251 |
-
guidance_scale =
|
| 252 |
seed = 42, randomize_seed = False,
|
| 253 |
progress=gr.Progress(track_tqdm=True)):
|
| 254 |
|
|
|
|
| 19 |
|
| 20 |
## This is working well ##
|
| 21 |
|
| 22 |
+
MODEL_ID = "FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers"
|
| 23 |
|
| 24 |
## below model has a blury output but it get loaded
|
| 25 |
##MODEL_ID ="Runware/Wan2.2-TI2V-5B"
|
|
|
|
| 31 |
|
| 32 |
#MODEL_ID ="linoyts/Wan2.2-T2V-A14B-Diffusers-BF16"
|
| 33 |
|
| 34 |
+
#MODEL_ID = "Wan-AI/Wan2.2-TI2V-5B-Diffusers"
|
| 35 |
|
| 36 |
|
| 37 |
|
|
|
|
| 248 |
@spaces.GPU(duration=get_duration)
|
| 249 |
def generate_video(prompt, height, width,
|
| 250 |
negative_prompt=default_negative_prompt, duration_seconds = 2,
|
| 251 |
+
guidance_scale = 0, steps = 4,
|
| 252 |
seed = 42, randomize_seed = False,
|
| 253 |
progress=gr.Progress(track_tqdm=True)):
|
| 254 |
|