Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from modelscope.pipelines import pipeline
|
|
3 |
from modelscope.utils.constant import Tasks
|
4 |
|
5 |
# Load ModelScope's Text-to-Video Model
|
6 |
-
video_model = pipeline(Tasks.text_to_video_synthesis, model='damo/text-to-video-
|
7 |
|
8 |
def generate_video(prompt, style, duration, image):
|
9 |
# Modify prompt with style
|
|
|
3 |
from modelscope.utils.constant import Tasks
|
4 |
|
5 |
# Load ModelScope's Text-to-Video Model
|
6 |
+
video_model = pipeline(Tasks.text_to_video_synthesis, model='damo-vilab/text-to-video-ms-1.7b')
|
7 |
|
8 |
def generate_video(prompt, style, duration, image):
|
9 |
# Modify prompt with style
|