Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,8 @@ def main():
|
|
163 |
st.markdown(wav3)
|
164 |
#RuntimeError: Could not infer dtype of numpy.float32
|
165 |
#wav = torch.tensor(wav3).float() / 32768.0
|
166 |
-
|
|
|
167 |
wav = torch.from_numpy(wav3) #/32768.0
|
168 |
wav = audio.unsqueeze(0).unsqueeze(0)
|
169 |
st.markdown("Before unsqueeze mp3")
|
|
|
163 |
st.markdown(wav3)
|
164 |
#RuntimeError: Could not infer dtype of numpy.float32
|
165 |
#wav = torch.tensor(wav3).float() / 32768.0
|
166 |
+
|
167 |
+
#RuntimeError: Numpy is not available
|
168 |
wav = torch.from_numpy(wav3) #/32768.0
|
169 |
wav = audio.unsqueeze(0).unsqueeze(0)
|
170 |
st.markdown("Before unsqueeze mp3")
|