zR
commited on
Commit
•
bb535c8
1
Parent(s):
c8a2b4e
python
Browse files- README.md +2 -2
- README_zh.md +1 -1
README.md
CHANGED
@@ -123,12 +123,12 @@ conversion to get a better experience.**
|
|
123 |
# transformers>=0.46.2
|
124 |
# accelerate>=1.0.1
|
125 |
# imageio-ffmpeg>=0.5.1
|
126 |
-
pip install --upgrade transformers accelerate diffusers imageio-ffmpeg
|
127 |
```
|
128 |
|
129 |
2. Run the code
|
130 |
|
131 |
-
```
|
132 |
import torch
|
133 |
from diffusers import CogVideoXImageToVideoPipeline
|
134 |
from diffusers.utils import export_to_video, load_image
|
|
|
123 |
# transformers>=0.46.2
|
124 |
# accelerate>=1.0.1
|
125 |
# imageio-ffmpeg>=0.5.1
|
126 |
+
pip install --upgrade transformers accelerate diffusers imageio-ffmpeg
|
127 |
```
|
128 |
|
129 |
2. Run the code
|
130 |
|
131 |
+
```python
|
132 |
import torch
|
133 |
from diffusers import CogVideoXImageToVideoPipeline
|
134 |
from diffusers.utils import export_to_video, load_image
|
README_zh.md
CHANGED
@@ -108,7 +108,7 @@ pip install --upgrade transformers accelerate diffusers imageio-ffmpeg
|
|
108 |
|
109 |
2. 运行代码
|
110 |
|
111 |
-
```
|
112 |
import torch
|
113 |
from diffusers import CogVideoXImageToVideoPipeline
|
114 |
from diffusers.utils import export_to_video, load_image
|
|
|
108 |
|
109 |
2. 运行代码
|
110 |
|
111 |
+
```python
|
112 |
import torch
|
113 |
from diffusers import CogVideoXImageToVideoPipeline
|
114 |
from diffusers.utils import export_to_video, load_image
|