Your Name 3 년 전
부모
커밋
3fda59da50
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apis/proc_video.py

+ 1 - 1
apis/proc_video.py

@@ -13,7 +13,7 @@ txt=lines[0].strip()
 engine = pyttsx3.init()
 voices = engine.getProperty('voices')
 for v in voices:
-    if 'Mandarin' in str(v.languages):
+    if 'Mandarin' in str(v.languages) or 'Mandarin' in v.id or 'Mandarin' in v.name:
         print(v.id)
         print(v.gender)
         print(v.name)