#!/bin/bash set -euo pipefail mkdir -p model GGUF_URL="https://huggingface.co/mradermacher/llama-joycaption-beta-one-hf-llava-GGUF/resolve/main/llama-joycaption-beta-one-hf-llava-q4_k_m.gguf" GGUF_PATH="model/llama-joycaption-q4_k_m.gguf" if [ ! -f "$GGUF_PATH" ]; then echo "Downloading GGUF model (several GB)..." curl -L -C - -o "$GGUF_PATH" "$GGUF_URL" fi # Run app.py (Spaces will normally run python app.py automatically; this script is here if you use it locally) python app.py