mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix: add workaround for same value in Steps IntEnum
This commit is contained in:
@@ -135,6 +135,10 @@ class Steps(IntEnum):
|
||||
LIGHTNING = 4
|
||||
HYPER_SD = 4
|
||||
|
||||
@classmethod
|
||||
def keys(cls) -> list:
|
||||
return list(map(lambda c: c, Steps.__members__))
|
||||
|
||||
|
||||
class StepsUOV(IntEnum):
|
||||
QUALITY = 36
|
||||
|
||||
Reference in New Issue
Block a user