Zw07 commited on
Commit
c57016e
1 Parent(s): 9f50e7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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")