Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit eaaefdc

Browse files
authored
Fix format (#251)
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
1 parent 6c8fbe9 commit eaaefdc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

generative/networks/nets/autoencoderkl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ def __init__(
613613

614614
if len(num_res_blocks) != len(num_channels):
615615
raise ValueError(
616-
"`num_res_blocks` should be a single integer or a tuple of integers with the same length as `num_channels`."
616+
"`num_res_blocks` should be a single integer or a tuple of integers with the same length as "
617+
"`num_channels`."
617618
)
618619

619620
self.encoder = Encoder(

generative/networks/nets/diffusion_model_unet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,8 @@ def __init__(
16561656

16571657
if len(num_res_blocks) != len(num_channels):
16581658
raise ValueError(
1659-
"`num_res_blocks` should be a single integer or a tuple of integers with the same length as `num_channels`."
1659+
"`num_res_blocks` should be a single integer or a tuple of integers with the same length as "
1660+
"`num_channels`."
16601661
)
16611662

16621663
self.in_channels = in_channels

0 commit comments

Comments
 (0)