Skip to content

Commit 4773420

Browse files
Apply style fixes
1 parent e55139b commit 4773420

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/diffusers/utils/remote_utils.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,13 @@ def remote_decode(
8888
processor (`VaeImageProcessor` or `VideoProcessor`, *optional*):
8989
Used with `return_type="pt"`, and `return_type="pil"` for Video models.
9090
do_scaling (`bool`, default `True`, *optional*):
91-
**DEPRECATED**. When `True` scaling e.g. `latents / self.vae.config.scaling_factor` is applied remotely. If `False`, input
92-
must be passed with scaling applied.
91+
**DEPRECATED**. When `True` scaling e.g. `latents / self.vae.config.scaling_factor` is applied remotely. If
92+
`False`, input must be passed with scaling applied.
9393
scaling_factor (`float`, *optional*):
94-
Scaling is applied when passed e.g. `latents / self.vae.config.scaling_factor`.
95-
SD v1: 0.18215
96-
SD XL: 0.13025
97-
Flux: 0.3611
94+
Scaling is applied when passed e.g. `latents / self.vae.config.scaling_factor`. SD v1: 0.18215 SD XL:
95+
0.13025 Flux: 0.3611
9896
shift_factor (`float`, *optional*):
99-
Shift is applied when passed e.g. `latents + self.vae.config.shift_factor`.
100-
Flux: 0.1159
97+
Shift is applied when passed e.g. `latents + self.vae.config.shift_factor`. Flux: 0.1159
10198
output_type (`"mp4"` or `"pil"` or `"pt", default `"pil"):
10299
**Endpoint** output type. Subject to change. Report feedback on preferred type.
103100

0 commit comments

Comments
 (0)