Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -32,10 +32,7 @@ flow_shift = 1.0 #5.0 1.0 for image, 5.0 for 720P, 3.0 for 480P
|
|
32 |
# Configure FlowMatchEulerDiscreteScheduler
|
33 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_config(
|
34 |
pipe.scheduler.config,
|
35 |
-
|
36 |
-
sigma_min=0.002, # Minimum noise level
|
37 |
-
sigma_max=700.0, # Maximum noise level
|
38 |
-
flow_shift=1.0 # Retain flow_shift for WanPipeline compatibility
|
39 |
)
|
40 |
|
41 |
|
|
|
32 |
# Configure FlowMatchEulerDiscreteScheduler
|
33 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_config(
|
34 |
pipe.scheduler.config,
|
35 |
+
flow_shift=flow_shift # Retain flow_shift for WanPipeline compatibility
|
|
|
|
|
|
|
36 |
)
|
37 |
|
38 |
|