Gregniuki commited on
Commit
9e3ae38
·
1 Parent(s): bc06890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,8 +153,8 @@ async def main(
153
 
154
 
155
  # Rename the audio file based on the text input
156
- renamed_audio_file = os.path.join(temp_dir, f"{text_input}.wav")
157
- # audio.export(renamed_audio_file, format="mp3")
158
  # Save the generated audio as a temporary file
159
  filepath = renamed_audio_file
160
 
 
153
 
154
 
155
  # Rename the audio file based on the text input
156
+ renamed_audio_file = os.path.join(temp_dir, f"{text_input}.mp3")
157
+ audio.export(renamed_audio_file, format="mp3")
158
  # Save the generated audio as a temporary file
159
  filepath = renamed_audio_file
160