helloWorld199 commited on
Commit
60771a3
1 Parent(s): 9f42652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ def add_voice_labelv2(json_file, audio_path):
190
  vad_iterator.reset_states() # reset model states after each audio
191
 
192
  voice_idxs = np.where(np.array(speech_probs) >= 0.7)
193
- print(len(np.where(np.array(speech_probs) >= 0.7))
194
  if len(voice_idxs) == 0:
195
  print("NO VOICE SEGMENTS DETECTED!")
196
  try:
 
190
  vad_iterator.reset_states() # reset model states after each audio
191
 
192
  voice_idxs = np.where(np.array(speech_probs) >= 0.7)
193
+ print(len(np.where(np.array(speech_probs) >= 0.7)))
194
  if len(voice_idxs) == 0:
195
  print("NO VOICE SEGMENTS DETECTED!")
196
  try: