From 18692a186036d863110f147df9e71dd17412c3c0 Mon Sep 17 00:00:00 2001 From: FaceZhao Date: Mon, 21 Aug 2023 03:36:27 +0000 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7c7b3f7..3123920 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,14 @@ For more experiments, please stay tuned for our upcoming technical report and op ### 代码范例 (Code example) ```python +from modelscope.pipelines import pipeline +from modelscope.outputs import OutputKeys +pipe = pipeline("image-to-video", 'damo/Image-to-Video') + +# IMG_PATH: your image path (url or loacl file) +output_video_path = pipe(IMG_PATH, output_video='./output.mp4')[OutputKeys.OUTPUT_VIDEO] +print(output_video_path) ``` @@ -338,3 +345,5 @@ Our code and model weights are only available for personal/academic research use ## 联系我们 (Contact Us) 如果你想联系我们的算法/产品同学, 或者想加入我们的算法团队(实习/正式), 欢迎发邮件至: 。 + +If you would like to contact us, or join our team (internship/formal), please feel free to email us at . \ No newline at end of file