Spaces:
Sleeping
Sleeping
Create text-to-video-ms-1.7b
Browse files- text-to-video-ms-1.7b +6 -0
text-to-video-ms-1.7b
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from diffusers import DiffusionPipeline
|
| 2 |
+
|
| 3 |
+
pipe = DiffusionPipeline.from_pretrained("ali-vilab/text-to-video-ms-1.7b")
|
| 4 |
+
|
| 5 |
+
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
| 6 |
+
image = pipe(prompt).images[0]
|