ming 3 年之前
父节点
当前提交
a51b5d09a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -135,10 +135,10 @@ def file_prepare(name, name_hash,text_content,image_urls,multiLang,lang='zh'):
     #make mp3
     language = 'zh-tw'
     txt_idx = 0
+    print(multiLang)
     for txt in text_content:
         if lang!='zh' or multiLang==1:
             print('use gtts')
-            print(multiLang)
             tts = gTTS(txt)
             tts.save(dir_sound+name_hash+"/"+str(txt_idx)+".mp3")
         else: