Benign huggingface Download

Richard-ZZZZZ/ai-gf-image-video-harness main

Echoes colon-separated shell variable pairSources code in the current shell
SHA-256a7688d35d9e001ab300b04089e451c9b85e04e1aa048281ac61a795782ebb5b8

Evidence

Shell changes working directory lines 1–25
1#!/usr/bin/env bash
2set -euo pipefail
3ROOT="$(cd "$(dirname "$0")/.." && pwd)"
4cd "$ROOT"
5RUN_DIR="$ROOT/api/run"
6mkdir -p "$RUN_DIR" "$ROOT/api/jobs"
7
8# Load env
9set -a
10# shellcheck disable=SC1091
11source "$ROOT/api/.env"
12set +a
13
14VENV="${AIGF_VENV:-/root/.venvs/qwen-image-2.1}"
15# shellcheck disable=SC1091
16source "$VENV/bin/activate"
17
18export PYTHONPATH="$ROOT${PYTHONPATH:+:$PYTHONPATH}"
19export AIGF_JOBS_DIR="${AIGF_JOBS_DIR:-$ROOT/api/jobs}"
20
21HOST="${AIGF_HOST:-127.0.0.1}"
22PORT="${AIGF_PORT:-7271}"
23
24echo "Starting aigf API on ${HOST}:${PORT} model=${AIGF_MODEL_DIR}"
25exec uvicorn api.app:app --host "$HOST" --port "$PORT" --workers 1 --timeout-keep-alive 120 --log-level info

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.