Zw07 commited on
Commit
8be9cd4
·
verified ·
1 Parent(s): 7248e7e
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -140,7 +140,9 @@ def main():
140
  wav, sample_rate = torchaudio.load("test.wav")
141
  st.markdown("Before unsquuezewav")
142
  st.markdown(wav)
143
- #wav= wav.unsqueeze(0)
 
 
144
 
145
  # #2nd way
146
  # # Convert the tensor to a byte-like object in WAV format
 
140
  wav, sample_rate = torchaudio.load("test.wav")
141
  st.markdown("Before unsquuezewav")
142
  st.markdown(wav)
143
+
144
+ #Unsqueeze for line 176
145
+ wav= wav.unsqueeze(0)
146
 
147
  # #2nd way
148
  # # Convert the tensor to a byte-like object in WAV format