浏览代码

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/AI_Anchor_2

deployer 3 年之前
父节点
当前提交
97a93f8c48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/routers/toolAvatarVoiceOnly.py

+ 1 - 1
api/routers/toolAvatarVoiceOnly.py

@@ -51,7 +51,7 @@ def makeMP3(name_hash,text_in):
     ff = ffmpy.FFmpeg(inputs={dir_sound+name_hash+"raw.mp3": None}
                             , outputs={dir_sound+name_hash+".mp3": ["-filter:a", "atempo=1.2"]})
     ff.run()
-    os.remove(dir_sound+name_hash+"/raw.mp3")
+    os.remove(dir_sound+name_hash+"raw.mp3")
 
 
 def call_anchor(name_hash,avatar):