juulaii commited on
Commit
1ecefeb
1 Parent(s): 375e9b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  #Get models
4
  #ASR model for input speech
5
- speech2text = gr.Interface.load("huggingface/facebook/wav2vec2-base-960h",
6
  inputs=gr.inputs.Audio(label="Record Audio File", type="file", source = "microphone"))
7
 
8
  #translates english to spanish text
 
2
 
3
  #Get models
4
  #ASR model for input speech
5
+ speech2text = gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft",
6
  inputs=gr.inputs.Audio(label="Record Audio File", type="file", source = "microphone"))
7
 
8
  #translates english to spanish text