Spaces:
Runtime error
Runtime error
Commit
·
3d62973
1
Parent(s):
430ce1d
update
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ with st.expander('About this App'):
|
|
52 |
wav_audio_data = st_audiorec()
|
53 |
if wav_audio_data is not None:
|
54 |
np_wav = np.frombuffer(wav_audio_data, dtype=np.int16)
|
55 |
-
input_tensor = torch.
|
56 |
st.write(input_tensor.shape)
|
57 |
# PERCENTAGE OF SNORING PLOT
|
58 |
|
|
|
52 |
wav_audio_data = st_audiorec()
|
53 |
if wav_audio_data is not None:
|
54 |
np_wav = np.frombuffer(wav_audio_data, dtype=np.int16)
|
55 |
+
input_tensor = torch.from_numpy(np_wav)
|
56 |
st.write(input_tensor.shape)
|
57 |
# PERCENTAGE OF SNORING PLOT
|
58 |
|