File size: 417 Bytes
733fe59
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr

titulo = 'Demo trancripcion de texto'
description = 'Grabe un audio para que pueda ser transcrito'

gr.Interface.load("huggingface/facebook/wav2vec2-large-xlsr-53-spanish",
                 inputs  = gr.Audio(label="Graba un audio",source='microphone',type='filepath'),
                 outputs = gr.Textbox(),
                 title = titulo,
                 description = description).launch()