mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Fix typo when applying scheduler fix in T2V inference script
This commit is contained in:
@@ -186,7 +186,7 @@ def main(args):
|
||||
time_shift_type = pipeline.scheduler.config.time_shift_type
|
||||
fixed_scheduler = FlowMatchEulerDiscreteScheduler.from_config(
|
||||
pipeline.scheduler.config,
|
||||
dynamic_shifting=False,
|
||||
use_dynamic_shifting=False,
|
||||
shift=math.exp(max_shift) if time_shift_type == "exponential" else max_shift,
|
||||
)
|
||||
pipeline.scheduler = fixed_scheduler
|
||||
|
||||
Reference in New Issue
Block a user