#!/bin/bash
# --- Environment Setup ---
export HF_HOME=/mnt/nvme3n1/swarm/huggingface_cache
export SGLANG_CACHE_DIR=/mnt/nvme3n1/swarm/sglang_cache

source /home/isnai/anaconda3/etc/profile.d/conda.sh
conda activate swarm-voice

export CUDA_VISIBLE_DEVICES=0

echo "--- Launching Resident Swarm Ears (Port 8005) ---"

# 2026 Positional Argument Syntax
faster-whisper-server \
    --host 0.0.0.0 \
    --port 8005 \
    whisper-v4-turbo
