zhangyong 1 năm trước cách đây
mục cha
commit
5466d8f6fa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -84,6 +84,6 @@ channel_type = "koubo"
 auth = oss2.Auth(OSS_ACCESS_KEY_ID, OSS_ACCESS_KEY_SECRET)
 bucket = oss2.Bucket(auth, OSS_BUCKET_ENDPOINT, OSS_BUCKET_NAME)
 if video_type == "口播--美文类":
-    bucket.get_object("koubo/fo1", f'/root/video_editor/video_stitching/video_material/koubo.mp4')
+    bucket.get_object_to_file("koubo/fo1", f'./video_stitching/video_material/koubo.mp4')
     print("完成")
 # VideoStitching.video_stitching(video_type, koubo_count, channel_type)