[diffusion] refactor: refactor condition image resize logic (#14079)
This commit is contained in:
@@ -156,9 +156,6 @@ class ExecutionMode(str, Enum):
|
||||
"""
|
||||
|
||||
INFERENCE = "inference"
|
||||
PREPROCESS = "preprocess"
|
||||
FINETUNING = "finetuning"
|
||||
DISTILLATION = "distillation"
|
||||
|
||||
@classmethod
|
||||
def from_string(cls, value: str) -> "ExecutionMode":
|
||||
|
||||
Reference in New Issue
Block a user