Spaces:
Runtime error
Runtime error
File size: 465 Bytes
1d75522 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
#!/bin/bash
# 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
|