Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def main():
|
|
160 |
|
161 |
elif file_extension == ".mp3":
|
162 |
wav3, sample_rate = librosa.load("test.mp3")
|
163 |
-
st.markdown(
|
164 |
wav = torch.tensor(wav3).float() / 32768.0
|
165 |
#wav = torch.from_numpy(wav) #/32768.0
|
166 |
wav = audio.unsqueeze(0).unsqueeze(0)
|
|
|
160 |
|
161 |
elif file_extension == ".mp3":
|
162 |
wav3, sample_rate = librosa.load("test.mp3")
|
163 |
+
st.markdown(wav3)
|
164 |
wav = torch.tensor(wav3).float() / 32768.0
|
165 |
#wav = torch.from_numpy(wav) #/32768.0
|
166 |
wav = audio.unsqueeze(0).unsqueeze(0)
|