unsqueeze
Browse files
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 |
-
|
|
|
|
|
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
|