Siddhant commited on
Commit
d51bcc5
1 Parent(s): 3e0a37e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -239,7 +239,7 @@ def transcribe(stream, new_chunk):
239
  vad_output = None
240
  if len(prompt.strip().split())<2:
241
  text_str1=text_str
242
- yield (stream,asr_output_str,text_str1, audio_output)
243
 
244
  # prompt=transcriber({"sampling_rate": sr, "raw": array})["text"]
245
  print(len(prompt.strip().split()))
 
239
  vad_output = None
240
  if len(prompt.strip().split())<2:
241
  text_str1=text_str
242
+ return stream, asr_output_str, text_str1, audio_output
243
 
244
  # prompt=transcriber({"sampling_rate": sr, "raw": array})["text"]
245
  print(len(prompt.strip().split()))