Update README.md

This commit is contained in:
FaceZhao
2023-08-21 12:01:50 +00:00
parent 2c2807e9b2
commit e7df39ff4a

View File

@ -278,7 +278,7 @@ from modelscope.outputs import OutputKeys
pipe = pipeline("image-to-video", 'damo/Image-to-Video')
# IMG_PATH: your image path (url or loacl file)
# IMG_PATH: your image path (url or local file)
output_video_path = pipe(IMG_PATH, output_video='./output.mp4')[OutputKeys.OUTPUT_VIDEO]
print(output_video_path)
```