ming 4 жил өмнө
parent
commit
5f3d662abc

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -792,7 +792,7 @@ import pyttsx3
 def make_speech(text):
     engine = pyttsx3.init()
     #voices = engine.getProperty('voices')
-    engine.setProperty('voice', 'Mandarin')
+    #engine.setProperty('voice', 'Mandarin')
     engine.save_to_file(text, '/app/speech.mp3')
     engine.runAndWait()