浏览代码

add Jared

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

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -176,7 +176,7 @@ def file_prepare(name, name_hash,text_content,image_urls,multiLang,lang='zh'):
     for txt in text_content:
         if multiLang==3:
             hakkaTTS(dir_sound+name_hash+"/"+str(txt_idx)+".mp3",txt,0)
-        elif mulitLang==4:
+        elif multiLang==4:
             hakkaTTS(dir_sound+name_hash+"/"+str(txt_idx)+".mp3",txt,1)
             if lang!='zh' or multiLang==1:
                 if lang!='zh':