Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def transcribe(audio):
|
|
33 |
#text = "\n".join(lines)
|
34 |
res = pipe(y, chunk_length_s=10, stride_length_s=(4, 2))
|
35 |
text = res["text"]
|
36 |
-
return text
|
37 |
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|
|
|
33 |
#text = "\n".join(lines)
|
34 |
res = pipe(y, chunk_length_s=10, stride_length_s=(4, 2))
|
35 |
text = res["text"]
|
36 |
+
return text
|
37 |
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|