Transformers documentation

Open WebUI

You are viewing main version, which requires installation from source. If you'd like regular pip install, checkout the latest stable version (v5.0.0).
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Open WebUI

Open WebUI provides a self-hosted interface for offline models. Enable CORS to serve local models (it’s disabled by default for security).

transformers serve --enable-cors

To use the server for speech-to-text, go to Settings > Audio.

  1. Set Speech-to-Text Engine to OpenAI.
  2. Set the URL to http://localhost:8000/v1.
  3. Enter a transcription model in SST Model (openai/whisper-large-v3). Find more models on the Hub.

Start a chat and speak. The model transcribes your audio into the input field.

Update on GitHub