cdactvm commited on
Commit
e509ba6
·
verified ·
1 Parent(s): 27b23f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import pipeline
3
  p1= pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
4
 
5
  def transcribe_odiya(speech):
6
- print (p1(speech))
7
- text = p(speech)["text"]
8
  #text=cleanhtml(text)
9
  return text
10
  def sel_lng(lng,mic=None, file=None):
 
3
  p1= pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
4
 
5
  def transcribe_odiya(speech):
6
+ #print (p1(speech))
7
+ text = p1(speech)["text"]
8
  #text=cleanhtml(text)
9
  return text
10
  def sel_lng(lng,mic=None, file=None):