Spaces:
Build error
Build error
Download app.py from LEWOPO/Voice_to_Text: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/LEWOPO/Voice_to_Text/resolve/main/app.py
- Command line
-
hf download hf://spaces/LEWOPO/Voice_to_Text/app.py
-
curl -L -o app.py https://huggingface.co/spaces/LEWOPO/Voice_to_Text/resolve/main/app.py
311 Bytes
| import sentencepiece | |
| import gradio as gr | |
| from transformers import pipeline | |
| pipe=pipeline(task='automatic-speech-recognition',model='jonatasgrosman/wav2vec2-large-xlsr-53-english') | |
| gr.Interface.from_pipeline(pipe,title='VOICE-powo',description='Traduction de voix en text: vous devez parlez en anglais').launch() |