Skip to content

Commit 71ca10c

Browse files
author
Nathan Lambert
authored
fix typo docstring in unet2d (#798)
fix typo docstring
1 parent 22963ed commit 71ca10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/unet_2d_condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def forward(
223223
encoder_hidden_states: torch.Tensor,
224224
return_dict: bool = True,
225225
) -> Union[UNet2DConditionOutput, Tuple]:
226-
"""r
226+
r"""
227227
Args:
228228
sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor
229229
timestep (`torch.FloatTensor` or `float` or `int`): (batch) timesteps

0 commit comments

Comments
 (0)