rogerxavier commited on
Commit
cd8e7f1
1 Parent(s): 25d96aa

Update moviepyTest.py

Browse files
Files changed (1) hide show
  1. moviepyTest.py +2 -1
moviepyTest.py CHANGED
@@ -10,6 +10,7 @@ def get_duration(image_name) ->str:
10
 
11
 
12
  def test():
 
13
  # 执行命令
14
  subprocess.run(["apt", "install", "imagemagick"])
15
  # 图片素材和字幕
@@ -37,4 +38,4 @@ def test():
37
 
38
  # 保存视频
39
  video.write_videofile('output_video.mp4', fps=fps)
40
- return "保存成功"
 
10
 
11
 
12
  def test():
13
+
14
  # 执行命令
15
  subprocess.run(["apt", "install", "imagemagick"])
16
  # 图片素材和字幕
 
38
 
39
  # 保存视频
40
  video.write_videofile('output_video.mp4', fps=fps)
41
+ return "保存成功"