patrickvonplaten
commited on
Merge branch 'main' of https://huggingface.co/damo-vilab/text-to-video-ms-1.7b into main
Browse files- README.md +22 -1
- model_index.json +1 -1
README.md
CHANGED
@@ -33,7 +33,7 @@ This model has a wide range of applications, and can reason and generate videos
|
|
33 |
Let's first install the libraries required:
|
34 |
|
35 |
```bash
|
36 |
-
$ pip install
|
37 |
```
|
38 |
|
39 |
Now, generate a video:
|
@@ -53,6 +53,27 @@ video_path = export_to_video(video_frames)
|
|
53 |
print(video_path)
|
54 |
```
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
## View results
|
57 |
|
58 |
The above code will display the save path of the output video, and the current encoding format can be played with [VLC player](https://www.videolan.org/vlc/).
|
|
|
33 |
Let's first install the libraries required:
|
34 |
|
35 |
```bash
|
36 |
+
$ pip install git+https://github.com/huggingface/diffusers transformers accelerate
|
37 |
```
|
38 |
|
39 |
Now, generate a video:
|
|
|
53 |
print(video_path)
|
54 |
```
|
55 |
|
56 |
+
Here are some results:
|
57 |
+
|
58 |
+
<table>
|
59 |
+
<tr>
|
60 |
+
<td><center>
|
61 |
+
An astronaut riding a horse.
|
62 |
+
<br>
|
63 |
+
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/astr.gif"
|
64 |
+
alt="An astronaut riding a horse."
|
65 |
+
style="width: 300px;" />
|
66 |
+
</center></td>
|
67 |
+
<td ><center>
|
68 |
+
Darth vader surfing in waves.
|
69 |
+
<br>
|
70 |
+
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/vader.gif"
|
71 |
+
alt="Darth vader surfing in waves."
|
72 |
+
style="width: 300px;" />
|
73 |
+
</center></td>
|
74 |
+
</tr>
|
75 |
+
</table>
|
76 |
+
|
77 |
## View results
|
78 |
|
79 |
The above code will display the save path of the output video, and the current encoding format can be played with [VLC player](https://www.videolan.org/vlc/).
|
model_index.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.15.0.dev0",
|
4 |
"scheduler": [
|
5 |
"diffusers",
|
|
|
1 |
{
|
2 |
+
"_class_name": "TextToVideoSDPipeline",
|
3 |
"_diffusers_version": "0.15.0.dev0",
|
4 |
"scheduler": [
|
5 |
"diffusers",
|