Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from modelscope.utils.constant import Tasks
|
|
4 |
|
5 |
# Use CogVideo, a publicly available text-to-video model on Hugging Face.
|
6 |
# (Replace 'THUDM/CogVideo-5M' with the correct ID if needed.)
|
7 |
-
video_model = pipeline(Tasks.text_to_video_synthesis, model='THUDM/
|
8 |
|
9 |
def generate_pokemon_anime_video(prompt, style, duration, image):
|
10 |
"""
|
|
|
4 |
|
5 |
# Use CogVideo, a publicly available text-to-video model on Hugging Face.
|
6 |
# (Replace 'THUDM/CogVideo-5M' with the correct ID if needed.)
|
7 |
+
video_model = pipeline(Tasks.text_to_video_synthesis, model='THUDM/CogVideoX-5b')
|
8 |
|
9 |
def generate_pokemon_anime_video(prompt, style, duration, image):
|
10 |
"""
|