binqiangliu commited on
Commit
60d0165
1 Parent(s): 6fd8b87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def transcribe(audio):
56
 
57
 
58
  # Text to speech
59
- engine = pyttsx3.init(driverName='sapi5')
60
  # engine = pyttsx3.init('espeak')
61
  # engine.setProperty('engine', 'gTTS')
62
  engine.setProperty("rate", 150)
 
56
 
57
 
58
  # Text to speech
59
+ engine = pyttsx3.init()
60
  # engine = pyttsx3.init('espeak')
61
  # engine.setProperty('engine', 'gTTS')
62
  engine.setProperty("rate", 150)