Spaces:
Runtime error
Runtime error
wenmeng zhou
commited on
Commit
β’
1756b5a
1
Parent(s):
8c72deb
fix model_revision in pipeline
Browse files
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',
|
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
|