PuristanLabs1 commited on
Commit
a30ee88
·
verified ·
1 Parent(s): a6c37ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def generate_audio_kokoro(text, lang):
130
  #model.to("cpu")
131
 
132
  output_file = f"audio_{lang}.wav"
133
- sf.write(output_file, full, 24000) # Save as WAV file
134
  return output_file
135
 
136
  ### 5️⃣ Main Processing Function
 
130
  #model.to("cpu")
131
 
132
  output_file = f"audio_{lang}.wav"
133
+ sf.write(output_file, full_audio, 24000) # Save as WAV file
134
  return output_file
135
 
136
  ### 5️⃣ Main Processing Function