Docker Image for Whisper-TikTok
In this guide, we'll walk you through the process of using the dockerized version of the Whisper-TikTok model. Docker is a platform that allows you to package applications and their dependencies into containers, making it easy to run them on any system without worrying about compatibility issues.
Table of Contents
Prerequisites
Before you begin, make sure you have Docker installed on your system. If you don't have Docker installed, you can follow the official installation guide to set it up.
Pull the image
To use the Whisper-TikTok model in a Docker container, you first need to pull the Docker image from the ghcr repository. You can do this by running the following command in your terminal:
This command will download the latest version of the Whisper-TikTok Docker image to your system.
Run the container
Once you have pulled the Docker image, you can run the container using the following command:
docker run -d --name whisper-tiktok --network host --mount source=whisper-tiktok-vol,target=/app ghcr.io/matteofasulo/whisper-tiktok:main
This command will start the Whisper-TikTok container in detached mode, using the host network and mounting a volume to store the model checkpoints and logs. You can now access the Whisper-TikTok API at http://localhost:8000
.
To stop the container, you can run the following command:
And to remove the container, you can use:
If you want to inspect the container volume to retrieve the output files, you can use the following command:
This will provide you with the path to the volume on your system. Navigate to that path to access the model outputs.