wenmeng zhou commited on
Commit
1756b5a
1 Parent(s): 8c72deb

fix model_revision in pipeline

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  from modelscope.pipelines import pipeline
5
  from modelscope.outputs import OutputKeys
6
 
7
- image_to_video_pipe = pipeline(task="image-to-video", model='damo/i2vgen-xl', revision='v1.1.3', device='cuda:0')
8
 
9
  def upload_file(file):
10
  return file.name
 
4
  from modelscope.pipelines import pipeline
5
  from modelscope.outputs import OutputKeys
6
 
7
+ image_to_video_pipe = pipeline(task="image-to-video", model='damo/i2vgen-xl', model_revision='v1.1.3', device='cuda:0')
8
 
9
  def upload_file(file):
10
  return file.name