amir22010 commited on
Commit
751b44a
·
verified ·
1 Parent(s): a5e2ccc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ llm = Llama.from_pretrained(
45
  def text_to_speech(text):
46
  with tempfile.NamedTemporaryFile(delete=False, suffix='.wav') as temp_file:
47
  with locker:
48
- audio_data = tts.synthesize(text, "92"))
49
  temp_file.write(audio_data)
50
  return temp_file.name
51
 
 
45
  def text_to_speech(text):
46
  with tempfile.NamedTemporaryFile(delete=False, suffix='.wav') as temp_file:
47
  with locker:
48
+ audio_data = tts.synthesize(text, "92")
49
  temp_file.write(audio_data)
50
  return temp_file.name
51