Skip to content

audio-transcription

Description

Note

More information about the service specification can be found in the Core concepts > Service documentation.

This service uses Whisper tiny model from the transformers library to transcribe the speach from an audio file and return the result as a JSON file. The JSON contains a single field called "transcription", which holds the transcribed text.

The API documentation is automatically generated by FastAPI using the OpenAPI standard. A user friendly interface provided by Swagger is available under the /docs route, where the endpoints of the service are described.

This simple service only has one route /compute that takes a mp3 or ogg file as input, which will be transcribed.

Environment variables

Check the Core concepts > Service > Environment variables documentation for more details.

Run the tests with Python

Check the Core concepts > Service > Run the tests with Python documentation for more details.

Start the service locally

Check the Core concepts > Service > Start the service locally documentation for more details.