comodoro commited on
Commit
631e03b
1 Parent(s): 07d71a1

Remove sleep() from transcribe()

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -11,7 +11,6 @@ p = pipeline("automatic-speech-recognition", chunk_length_s=5, model=model,
11
  tokenizer=tokenizer, feature_extractor=feature_extractor)
12
 
13
  def transcribe(audio, state=""):
14
- time.sleep(2)
15
  text = p(audio)["text"]
16
  state += text + " "
17
  return state
 
11
  tokenizer=tokenizer, feature_extractor=feature_extractor)
12
 
13
  def transcribe(audio, state=""):
 
14
  text = p(audio)["text"]
15
  state += text + " "
16
  return state