morbiwalaq commited on
Commit
a1e0acd
·
verified ·
1 Parent(s): 77e44b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/CogVideo-5M')
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
  """