Explorar el Código

更新 'OpenshotService/openshot_video_generator.py'

oak hace 2 años
padre
commit
787777c1aa
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      OpenshotService/openshot_video_generator.py

+ 2 - 0
OpenshotService/openshot_video_generator.py

@@ -1086,6 +1086,8 @@ import pyttsx3
     #engine.runAndWait()
     
 import json
+# 資料
+# 關於voice 請參考這張表https://github.com/playht/text-to-speech-api/blob/master/Voices.md
 def make_speech(text,output="/app/speech.mp3",voice="zh-CN-XiaoyouNeural"):
     my_data = {
     "voice": voice,