reel-caption-maker/docker-run.sh

18 lines
470 B
Bash
Raw Normal View History

2024-10-14 17:17:17 +00:00
#!/bin/bash
# Create a Docker network if it doesn't exist
docker network create reel-caption-network 2>/dev/null || true
# Remove existing container if it exists
docker rm -f reel-caption-maker 2>/dev/null || true
# Run the Docker container
docker run -d \
--name reel-caption-maker \
--network reel-caption-network \
-p 8501:8501 \
-v whisper_model:/root/.cache/huggingface \
reel-caption-maker
# Print the container logs
docker logs -f reel-caption-maker