[Bugfix] Fix f-string formatting in image generation pipelines (#689)
Signed-off-by: ApsarasX <apsarax@outlook.com>
This commit is contained in:
1 parent
27b804cea7
commit
89f47c910a
3 files changed
+3
-3
No files matched your search
@@ -466,7 +466,7 @@ class LongCatImageEditPipeline(nn.Module):
|
||||
if height % (self.vae_scale_factor * 2) != 0 or width % (self.vae_scale_factor * 2) != 0:
|
||||
logger.warning(
|
||||
"`height` and `width` have to be divisible by "
|
||||
"{self.vae_scale_factor * 2} but are {height} and {width}. "
|
||||
f"{self.vae_scale_factor * 2} but are {height} and {width}. "
|
||||
"Dimensions will be resized accordingly"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user