PuristanLabs1 commited on
Commit
44b94d2
·
verified ·
1 Parent(s): 5cd86ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def generate_audio_kokoro(text, lang, selected_voice):
221
 
222
  # Save to a temporary file
223
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as temp_file:
224
- sf.write(temp_file, full_audio, 16000, format='wav')
225
  temp_file_path = temp_file.name
226
 
227
  print("Audio generated successfully.")
 
221
 
222
  # Save to a temporary file
223
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as temp_file:
224
+ sf.write(temp_file, full_audio, 24000, format='wav')
225
  temp_file_path = temp_file.name
226
 
227
  print("Audio generated successfully.")