daveokpare commited on
Commit
bac6bc3
·
1 Parent(s): 688ea42

Return text and state output

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,8 +14,7 @@ def transcribe(audio, state=""):
14
 
15
  for segment in segments:
16
  print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
17
- if "you" not in segment.text.lower():
18
- state += segment.text + " "
19
 
20
  return state, state
21
 
 
14
 
15
  for segment in segments:
16
  print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
17
+ state += segment.text + " "
 
18
 
19
  return state, state
20