Spaces:
Runtime error
Runtime error
File size: 650 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 30 31 32 33 34 35 |
#!/bin/bash
# Exit on error
set -e
echo "Starting Advanced Agentic System initialization..."
# Create necessary directories
mkdir -p /data/models
mkdir -p logs
# Install system dependencies
apt-get update && apt-get install -y \
git \
git-lfs \
cmake \
build-essential \
pkg-config \
libcurl4-openssl-dev
# Initialize git-lfs
git lfs install
# Upgrade pip and install requirements
python -m pip install --upgrade pip
pip install -r requirements.txt
# Download and initialize models
echo "Initializing models..."
python download_models_space.py
# Start the application
echo "Starting Gradio interface..."
python app.py
|