CineAI commited on
Commit
b5e5368
1 Parent(s): ab121f4

Update audio2text/a2t.py

Browse files
Files changed (1) hide show
  1. 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": "|en|"})
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