Skip to content

laviprog/speech-api

Repository files navigation

Speech API

Speech API is a fast and fault-tolerant service for working with STT. Related project: Speech Admin

License

🛠️ Getting Started

Follow the steps below to set up and run the Speech API using Docker (with optional GPU acceleration).

⚙️ Configure Environment Variables

Copy the example environment file and fill in the necessary values:

cp .env.example .env

Edit the .env file to set your environment variables. You can use the default values or customize them as needed.

🐳 Build and Run the Docker Container

Using CPU:

Start the Docker container with the following command:

docker compose up --build -d

This command will build the Docker image and start the container.

Using GPU:

Set up the docker-compose.yml file to use GPU acceleration.

docker compose up --build -d

This command will build the Docker image and start the container with GPU support.

Then, API will be available at http://localhost:8080.

Documentation will be available at http://localhost:8080/docs.

About

A fast and fault-tolerant api for working with STT.

Topics

Resources

License

Stars

Watchers

Forks

Contributors