Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sentencepiece
|
| 2 |
+
import gradio as gr
|
| 3 |
+
from transformers import pipeline
|
| 4 |
+
pipe=pipeline(task='automatic-speech-recognition',model='jonatasgrosman/wav2vec2-large-xlsr-53-english')
|
| 5 |
+
gr.Interface.from_pipeline(pipe,title='VOICE-powo',description='Traduction de voix en text: vous devez parlez en anglais').launch(inbrowser=True)
|