Update audio2text/a2t.py
Browse files- audio2text/a2t.py +1 -1
audio2text/a2t.py
CHANGED
@@ -13,7 +13,7 @@ class A2T:
|
|
13 |
if inputs is None:
|
14 |
print("Inputs None")
|
15 |
|
16 |
-
transcribed_text = pipe(inputs, batch_size=BATCH_SIZE, generate_kwargs={"task": task, "language": "
|
17 |
print("transcribed_text : ", transcribed_text)
|
18 |
return transcribed_text["text"]
|
19 |
|
|
|
13 |
if inputs is None:
|
14 |
print("Inputs None")
|
15 |
|
16 |
+
transcribed_text = pipe(inputs, batch_size=BATCH_SIZE, generate_kwargs={"task": task, "language": "english"})
|
17 |
print("transcribed_text : ", transcribed_text)
|
18 |
return transcribed_text["text"]
|
19 |
|