Update app.py
Browse files
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=
|
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('Ваше аудио')
|