Download start.sh from sureshdeveloperofficial/background-remover-model: direct link, hf CLI and curl.
- Browser
- Download file 962 Bytes
-
https://huggingface.co/sureshdeveloperofficial/background-remover-model/resolve/main/start.sh
- Command line
-
hf download hf://sureshdeveloperofficial/background-remover-model/start.sh
-
curl -L -o start.sh https://huggingface.co/sureshdeveloperofficial/background-remover-model/resolve/main/start.sh
962 Bytes
| # Quick start script for the Background Remover application | |
| echo "π Starting Background Remover Application..." | |
| echo "" | |
| # Check if Docker is installed | |
| if ! command -v docker &> /dev/null; then | |
| echo "β Docker is not installed. Please install Docker first." | |
| exit 1 | |
| fi | |
| # Check if Docker Compose is installed | |
| if ! command -v docker-compose &> /dev/null; then | |
| echo "β Docker Compose is not installed. Please install Docker Compose first." | |
| exit 1 | |
| fi | |
| echo "π¦ Building and starting containers..." | |
| docker-compose up --build -d | |
| echo "" | |
| echo "β³ Waiting for services to be ready..." | |
| sleep 10 | |
| echo "" | |
| echo "β Application is starting!" | |
| echo "" | |
| echo "π Access points:" | |
| echo " - Frontend: http://localhost" | |
| echo " - Backend API: http://localhost:8000" | |
| echo " - API Documentation: http://localhost:8000/docs" | |
| echo "" | |
| echo "π View logs: docker-compose logs -f" | |
| echo "π Stop application: docker-compose down" | |
| echo "" | |