tommy24 commited on
Commit
7f4dcd6
·
1 Parent(s): f2efa79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -32,9 +32,6 @@ def function1(prompt):
32
  # Export the audio in MP3 format
33
  sound.export(mp3_file, format="mp3")
34
 
35
- # Delete the WAV file
36
- os.remove("speech.wav")
37
-
38
  # Return the path to the MP3 file
39
  return os.path.abspath(mp3_file)
40
 
 
32
  # Export the audio in MP3 format
33
  sound.export(mp3_file, format="mp3")
34
 
 
 
 
35
  # Return the path to the MP3 file
36
  return os.path.abspath(mp3_file)
37