HypermindLabs commited on
Commit
29da33e
·
1 Parent(s): 8f888de

big update

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -31,6 +31,7 @@ def process_data(waveform_chunks):
31
  st.write("Reached stage 5")
32
  input_tensor = torch.tensor(chunk).unsqueeze(0).to(torch.float32)
33
  st.write("Reached stage 6")
 
34
  result = model(input_tensor)
35
  st.write("Reached stage 7")
36
  if np.abs(result[0][0]) > np.abs(result[0][1]):
 
31
  st.write("Reached stage 5")
32
  input_tensor = torch.tensor(chunk).unsqueeze(0).to(torch.float32)
33
  st.write("Reached stage 6")
34
+ st.write(input_tensor.shape)
35
  result = model(input_tensor)
36
  st.write("Reached stage 7")
37
  if np.abs(result[0][0]) > np.abs(result[0][1]):