|
69 | 69 | ... "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
|
70 | 70 | ... )
|
71 | 71 |
|
72 |
| - >>> output = pipe( |
73 |
| - ... image=image, |
74 |
| - ... height=720, |
75 |
| - ... width=1280, |
76 |
| - ... num_frames=129, |
77 |
| - ... prompt=prompt, |
78 |
| - ... true_cfg_scale=1.0, |
79 |
| - ... guidance_scale=1.0, |
80 |
| - ... ).frames[0] |
| 72 | + >>> output = pipe(image=image, prompt=prompt).frames[0] |
81 | 73 | >>> export_to_video(output, "output.mp4", fps=15)
|
82 | 74 | ```
|
83 | 75 | """
|
@@ -587,7 +579,7 @@ def __call__(
|
587 | 579 | num_inference_steps: int = 50,
|
588 | 580 | sigmas: List[float] = None,
|
589 | 581 | true_cfg_scale: float = 1.0,
|
590 |
| - guidance_scale: float = 6.0, |
| 582 | + guidance_scale: float = 1.0, |
591 | 583 | num_videos_per_prompt: Optional[int] = 1,
|
592 | 584 | generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
|
593 | 585 | latents: Optional[torch.Tensor] = None,
|
@@ -639,7 +631,7 @@ def __call__(
|
639 | 631 | will be used.
|
640 | 632 | true_cfg_scale (`float`, *optional*, defaults to 1.0):
|
641 | 633 | When > 1.0 and a provided `negative_prompt`, enables true classifier-free guidance.
|
642 |
| - guidance_scale (`float`, defaults to `6.0`): |
| 634 | + guidance_scale (`float`, defaults to `1.0`): |
643 | 635 | Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
|
644 | 636 | `guidance_scale` is defined as `w` of equation 2. of [Imagen
|
645 | 637 | Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
|
|
0 commit comments