Spaces:
Runtime error
Runtime error
| # Create necessary directories | |
| mkdir -p models | |
| mkdir -p logs | |
| # Install system dependencies | |
| apt-get update && apt-get install -y \ | |
| git \ | |
| git-lfs \ | |
| python3-pip \ | |
| python3-dev \ | |
| build-essential \ | |
| cmake \ | |
| pkg-config \ | |
| libcurl4-openssl-dev | |
| # Initialize git-lfs | |
| git lfs install | |
| # Install Python dependencies | |
| pip install -r requirements.txt | |
| # Download models | |
| python download_models.py | |
| # Start the application | |
| python app.py | |