sukantan commited on
Commit
b2e7c69
1 Parent(s): e5af038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,6 +1,5 @@
1
- from transformers import pipeline
2
  import gradio as gr
3
-
4
  from transformers import Wav2Vec2CTCTokenizer
5
 
6
  preTrainedTokenizer = Wav2Vec2CTCTokenizer.from_pretrained("sukantan/wav2vec2-large-xls-r-300m-or-colab", unk_token="[UNK]", pad_token="[PAD]", word_delimiter_token="|", task="transcribe")
@@ -19,4 +18,4 @@ iface = gr.Interface(
19
  description="Realtime demo for Odia speech recognition using a fine-tuned wav2vec2-large-xls-r-300m model.",
20
  )
21
 
22
- iface.launch(share=True)
 
1
+ rom transformers import pipeline
2
  import gradio as gr
 
3
  from transformers import Wav2Vec2CTCTokenizer
4
 
5
  preTrainedTokenizer = Wav2Vec2CTCTokenizer.from_pretrained("sukantan/wav2vec2-large-xls-r-300m-or-colab", unk_token="[UNK]", pad_token="[PAD]", word_delimiter_token="|", task="transcribe")
 
18
  description="Realtime demo for Odia speech recognition using a fine-tuned wav2vec2-large-xls-r-300m model.",
19
  )
20
 
21
+ iface.launch(share=True)