From 08683b0c053f9ea1e6ca0de59aada1c9b99d6d56 Mon Sep 17 00:00:00 2001 From: Cherrytest Date: Fri, 1 Sep 2023 11:11:38 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2c474b..d016945 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,7 @@ For more experiments, please stay tuned for our upcoming technical report and op from modelscope.pipelines import pipeline from modelscope.outputs import OutputKeys -pipe = pipeline(task='image-to-video', model='damo/Image-to-Video', model_revision='v1.1.0') +pipe = pipeline(task="video-to-video", model='damo/Video-to-Video', model_revision='v1.1.0', device='cuda:0') # IMG_PATH: your image path (url or local file) output_video_path = pipe(IMG_PATH, output_video='./output.mp4')[OutputKeys.OUTPUT_VIDEO]