Commit
·
6b42851
1
Parent(s):
4cb5d58
Update app.py
Browse files
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 |
|