morbiwalaq commited on
Commit
758051b
·
verified ·
1 Parent(s): a16be78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-synthesis')
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