franco1102 commited on
Commit
d834a53
1 Parent(s): 2f272be

added language

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
  modelo = pipeline("automatic-speech-recognition", model = "facebook/wav2vec2-large-xlsr-53-spanish")
5
- title = "Speech2Text"
6
- description = "Record an audio and convert it to text"
7
 
8
  def transcribe(audio):
9
  text = modelo(audio)["text"]
 
2
  import gradio as gr
3
 
4
  modelo = pipeline("automatic-speech-recognition", model = "facebook/wav2vec2-large-xlsr-53-spanish")
5
+ title = "Speech2Text (Spanish)"
6
+ description = "Record an audio and convert it to text (Spanish)"
7
 
8
  def transcribe(audio):
9
  text = modelo(audio)["text"]