Ver Fonte

add hakka tts

ming há 3 anos atrás
pai
commit
c1fd5ed613
1 ficheiros alterados com 1 adições e 1 exclusões
  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: