HypermindLabs commited on
Commit
3d62973
·
1 Parent(s): 430ce1d
Files changed (1) hide show
  1. app.py +1 -1
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.tensor(np_wav)
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