ovi054 commited on
Commit
31ae16e
·
verified ·
1 Parent(s): 6fc30fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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
- num_train_timesteps=1000, # Standard timestep count
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