mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 07:30:06 +08:00
Chang Flux's default max_shift to 1.15 to match the official one
This commit is contained in:
parent
1727959a27
commit
76ba80316f
@ -7,7 +7,7 @@ import mlx.core as mx
|
|||||||
|
|
||||||
|
|
||||||
class FluxSampler:
|
class FluxSampler:
|
||||||
def __init__(self, name: str, base_shift: float = 0.5, max_shift: float = 1.5):
|
def __init__(self, name: str, base_shift: float = 0.5, max_shift: float = 1.15):
|
||||||
self._base_shift = base_shift
|
self._base_shift = base_shift
|
||||||
self._max_shift = max_shift
|
self._max_shift = max_shift
|
||||||
self._schnell = "schnell" in name
|
self._schnell = "schnell" in name
|
||||||
|
Loading…
Reference in New Issue
Block a user