XDHDD commited on
Commit
ac39380
1 Parent(s): b177a3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ is_file_uploaded = uploaded_file is not None
108
  if not is_file_uploaded:
109
  uploaded_file = 'sample.wav'
110
 
111
- target, sr = librosa.load(uploaded_file, sr=32000)
112
  target = target[:packet_size * (len(target) // packet_size)]
113
 
114
  st.text('Ваше аудио')
 
108
  if not is_file_uploaded:
109
  uploaded_file = 'sample.wav'
110
 
111
+ target, sr = librosa.load(uploaded_file, sr=48000)
112
  target = target[:packet_size * (len(target) // packet_size)]
113
 
114
  st.text('Ваше аудио')