TheStinger commited on
Commit
6b42851
·
1 Parent(s): 4cb5d58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -79,6 +79,9 @@ def create_spectrogram_and_get_info(audio_file):
79
  </center>
80
  """
81
 
 
 
 
82
  # Return the PNG file of the spectrogram and the info table
83
  return info_table, 'spectrogram.png'
84
 
 
79
  </center>
80
  """
81
 
82
+ # Delete the audio file after analyzing it
83
+ os.remove(audio_file)
84
+
85
  # Return the PNG file of the spectrogram and the info table
86
  return info_table, 'spectrogram.png'
87