Update app.py
Browse files
app.py
CHANGED
@@ -75,6 +75,9 @@ def visualize(hr, lr, recon, sr):
|
|
75 |
ax2.title.set_text('Сигнал с потерями')
|
76 |
ax3.title.set_text('Улучшенный сигнал')
|
77 |
|
|
|
|
|
|
|
78 |
canvas = FigureCanvas(fig)
|
79 |
p = librosa.display.specshow(librosa.amplitude_to_db(stft_hr), ax=ax1, y_axis='log', x_axis='time', sr=sr)
|
80 |
p = librosa.display.specshow(librosa.amplitude_to_db(stft_lr), ax=ax2, y_axis='log', x_axis='time', sr=sr)
|
|
|
75 |
ax2.title.set_text('Сигнал с потерями')
|
76 |
ax3.title.set_text('Улучшенный сигнал')
|
77 |
|
78 |
+
|
79 |
+
fig.set_ylabel('No. of Violations')
|
80 |
+
|
81 |
canvas = FigureCanvas(fig)
|
82 |
p = librosa.display.specshow(librosa.amplitude_to_db(stft_hr), ax=ax1, y_axis='log', x_axis='time', sr=sr)
|
83 |
p = librosa.display.specshow(librosa.amplitude_to_db(stft_lr), ax=ax2, y_axis='log', x_axis='time', sr=sr)
|