binqiangliu commited on
Commit
3761bae
·
1 Parent(s): 548d109

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 = pyttsx.init('espeak')
60
  # engine = pyttsx3.init('espeak')
61
  #engine.setProperty('engine', 'gTTS')
62
  engine.setProperty("rate", 150)
 
56
 
57
 
58
  # Text to speech
59
+ engine = pyttsx.init()
60
  # engine = pyttsx3.init('espeak')
61
  #engine.setProperty('engine', 'gTTS')
62
  engine.setProperty("rate", 150)