mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Merge branch 'main_upstream' into feature/multi-step-rendering
This commit is contained in:
@@ -166,6 +166,10 @@ class Performance(Enum):
|
|||||||
def values(cls) -> list:
|
def values(cls) -> list:
|
||||||
return list(map(lambda c: c.value, cls))
|
return list(map(lambda c: c.value, cls))
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def values(cls) -> list:
|
||||||
|
return list(map(lambda c: c.value, cls))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def by_steps(cls, steps: int | str):
|
def by_steps(cls, steps: int | str):
|
||||||
return cls[Steps(int(steps)).name]
|
return cls[Steps(int(steps)).name]
|
||||||
|
|||||||
Reference in New Issue
Block a user