Update app.py
Browse files
app.py
CHANGED
@@ -137,9 +137,9 @@ if st.button('Сгенерировать потери'):
|
|
137 |
|
138 |
|
139 |
|
140 |
-
data_clean, samplerate = torchaudio.load('
|
141 |
-
data_lossy, samplerate = torchaudio.load('
|
142 |
-
data_enhanced, samplerate = torchaudio.load('
|
143 |
|
144 |
min_len = min(data_clean.shape[1], data_lossy.shape[1], data_enhanced.shape[1])
|
145 |
data_clean = data_clean[:, :min_len]
|
|
|
137 |
|
138 |
|
139 |
|
140 |
+
data_clean, samplerate = torchaudio.load('target.wav')
|
141 |
+
data_lossy, samplerate = torchaudio.load('lossy.wav')
|
142 |
+
data_enhanced, samplerate = torchaudio.load('enhanced.wav')
|
143 |
|
144 |
min_len = min(data_clean.shape[1], data_lossy.shape[1], data_enhanced.shape[1])
|
145 |
data_clean = data_clean[:, :min_len]
|