TheStinger commited on
Commit
1027755
1 Parent(s): 1c05edd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def create_spectrogram_and_get_info(audio_file):
66
 
67
  # Create the spectrogram
68
  plt.specgram(audio_data, Fs=sample_rate / 1, NFFT=4096, sides='onesided',
69
- cmap="plasma", scale_by_freq=True, scale='dB', mode='magnitude', window=np.hanning(4096))
70
 
71
  # Save the spectrogram to a PNG file
72
  plt.savefig('spectrogram.png')
 
66
 
67
  # Create the spectrogram
68
  plt.specgram(audio_data, Fs=sample_rate / 1, NFFT=4096, sides='onesided',
69
+ cmap="inferno", scale_by_freq=True, scale='dB', mode='magnitude', window=np.hanning(4096))
70
 
71
  # Save the spectrogram to a PNG file
72
  plt.savefig('spectrogram.png')