Add flux to the Prediction Type inference (#18)
Testing it in Comfy, it seems like it works as `EPS`, though it also worked with `V`.
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ class PredictionType(Enum):
|
|||||||
_RAW_TO_ENUM = {
|
_RAW_TO_ENUM = {
|
||||||
"eps": PredictionType.EPS,
|
"eps": PredictionType.EPS,
|
||||||
"epsilon": PredictionType.EPS,
|
"epsilon": PredictionType.EPS,
|
||||||
|
"flux": PredictionType.EPS,
|
||||||
"v": PredictionType.V,
|
"v": PredictionType.V,
|
||||||
"v_prediction": PredictionType.V,
|
"v_prediction": PredictionType.V,
|
||||||
"x0": PredictionType.X0,
|
"x0": PredictionType.X0,
|
||||||
@@ -218,4 +219,4 @@ class NRS:
|
|||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
"NRS": NRS,
|
"NRS": NRS,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user