Spaces:
Runtime error
Runtime error
HyperMind-Labs
commited on
Commit
·
6fda9f3
1
Parent(s):
52cf39a
Updates
Browse files
app.py
CHANGED
@@ -52,10 +52,9 @@ with st.expander('About this App'):
|
|
52 |
|
53 |
wav_audio_data = st_audiorec()
|
54 |
if wav_audio_data is not None:
|
55 |
-
output_filename = "audio_data.wav"
|
56 |
np_wav = np.frombuffer(wav_audio_data, dtype=np.int16)
|
57 |
-
input_tensor = torch.tensor(np_wav[:RATE])
|
58 |
-
st.write(input_tensor.shape)
|
59 |
# st.audio(loaded_waveform, "audio/wav")
|
60 |
# PERCENTAGE OF SNORING PLOT
|
61 |
|
|
|
52 |
|
53 |
wav_audio_data = st_audiorec()
|
54 |
if wav_audio_data is not None:
|
|
|
55 |
np_wav = np.frombuffer(wav_audio_data, dtype=np.int16)
|
56 |
+
# input_tensor = torch.tensor(np_wav[:RATE])
|
57 |
+
# st.write(input_tensor.shape)
|
58 |
# st.audio(loaded_waveform, "audio/wav")
|
59 |
# PERCENTAGE OF SNORING PLOT
|
60 |
|