Fix string formating
This commit is contained in:
parent
21a98b1369
commit
398cf082c3
@ -46,7 +46,7 @@ class ModelLookup:
|
||||
@staticmethod
|
||||
def from_alias(alias: str) -> ModelConfig:
|
||||
warnings.warn(
|
||||
"from_alias is deprecated and will be removed in a future release. " "Please use from_name instead.",
|
||||
"from_alias is deprecated and will be removed in a future release. Please use from_name instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
@ -139,7 +139,7 @@ class Flux1(nn.Module):
|
||||
@staticmethod
|
||||
def from_alias(alias: str, quantize: int | None = None) -> "Flux1":
|
||||
warnings.warn(
|
||||
"from_alias is deprecated and will be removed in a future release. " "Please use from_name instead.",
|
||||
"from_alias is deprecated and will be removed in a future release. Please use from_name instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user