XDHDD commited on
Commit
914dc7a
·
verified ·
1 Parent(s): 035cc4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -137,9 +137,9 @@ if st.button('Сгенерировать потери'):
137
 
138
 
139
 
140
- data_clean, samplerate = torchaudio.load('/content/Катя_базу_выдала.wav')
141
- data_lossy, samplerate = torchaudio.load('/content/Катя_базу_выдала_40%.wav')
142
- data_enhanced, samplerate = torchaudio.load('/content/Катя_базу_выдала_демо.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]
 
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]