Parcourir la source

add hakka tts

ming il y a 3 ans
Parent
commit
c1fd5ed613
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

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