Update README.md
#4
by
tolgacangoz
- opened
README.md
CHANGED
|
@@ -63,10 +63,9 @@ The demos above showcase 30-second videos generated using our SkyReels-V2 Diffus
|
|
| 63 |
|
| 64 |
## 🚀 Quickstart
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```py
|
| 69 |
-
# pip install ftfy
|
| 70 |
import torch
|
| 71 |
from diffusers import AutoModel, SkyReelsV2DiffusionForcingPipeline, UniPCMultistepScheduler
|
| 72 |
from diffusers.utils import export_to_video
|
|
@@ -97,7 +96,7 @@ output = pipeline(
|
|
| 97 |
overlap_history=None, # Number of frames to overlap for smooth transitions in long videos; 17 for long video generations
|
| 98 |
addnoise_condition=20, # Improves consistency in long video generation
|
| 99 |
).frames[0]
|
| 100 |
-
export_to_video(output, "
|
| 101 |
```
|
| 102 |
|
| 103 |
#### Installation
|
|
|
|
| 63 |
|
| 64 |
## 🚀 Quickstart
|
| 65 |
|
| 66 |
+
[SkyReels-V2](https://huggingface.co/docs/diffusers/main/en/api/pipelines/skyreels_v2) can be run directly using 🤗 Diffusers!
|
| 67 |
|
| 68 |
```py
|
|
|
|
| 69 |
import torch
|
| 70 |
from diffusers import AutoModel, SkyReelsV2DiffusionForcingPipeline, UniPCMultistepScheduler
|
| 71 |
from diffusers.utils import export_to_video
|
|
|
|
| 96 |
overlap_history=None, # Number of frames to overlap for smooth transitions in long videos; 17 for long video generations
|
| 97 |
addnoise_condition=20, # Improves consistency in long video generation
|
| 98 |
).frames[0]
|
| 99 |
+
export_to_video(output, "video.mp4", fps=24, quality=8)
|
| 100 |
```
|
| 101 |
|
| 102 |
#### Installation
|