vumichien commited on
Commit
3313875
·
1 Parent(s): 0c04f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import librosa
 
3
  from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
4
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
5
  import torch
6
- import librosa
7
 
8
  # load model and processor
9
  processor = Wav2Vec2Processor.from_pretrained("jonatasgrosman/wav2vec2-large-xlsr-53-english")
 
1
  import gradio as gr
2
  import librosa
3
+ from optimum.onnxruntime import ORTModelForSeq2SeqLM
4
  from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
6
  import torch
 
7
 
8
  # load model and processor
9
  processor = Wav2Vec2Processor.from_pretrained("jonatasgrosman/wav2vec2-large-xlsr-53-english")