Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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()))
|