aigmixer commited on
Commit
f69f274
1 Parent(s): 7febfc4

updating app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import piper
4
 
5
  def synthesize_speech(text):
6
  # Command to execute Piper-TTS CLI
7
- command = ['piper-tts-cli', '--text', text, '--output', 'output.wav']
8
  subprocess.run(command, capture_output=True)
9
 
10
  if os.path.exists('output.wav'):
 
4
 
5
  def synthesize_speech(text):
6
  # Command to execute Piper-TTS CLI
7
+ command = ['piper', '--text', text, '--output', 'output.wav']
8
  subprocess.run(command, capture_output=True)
9
 
10
  if os.path.exists('output.wav'):