# animoflow-app environment — copy to .env for local dev (never commit .env) # Where the orchestrator writes generated FBX/GLB OUTPUT_DIR=/tmp/animoflow-output # Where Y_bot.fbx etc. live (cloned from comfyui-animoflow at Docker build) CHARACTERS_DIR=/opt/comfyui-animoflow/characters # WEB_DIR controls whether the AnimoFlow web app's static SPA mounts. Set to a # non-existent path on HF so Gradio takes the "/" route instead. WEB_DIR=/nonexistent # Upstream model paths — set by Dockerfile, used by inference modules. # For local dev outside Docker, point at your local clones. MDM_PATH=/opt/mdm-codes MOMASK_PATH=/opt/momask-codes PRIORMDM_PATH=/opt/priormdm-codes HML_DATASET_DIR=/opt/priormdm-codes/dataset/HumanML3D # Where MDM-family checkpoints live. download_weights.sh populates this on first boot. CHECKPOINTS_DIR=/opt/checkpoints # Blender binary (required for retarget + GLB export). Leave unset to let # pipeline_hf._find_blender() auto-detect: # 1. blender on PATH # 2. /Applications/Blender.app/Contents/MacOS/Blender (macOS) # 3. /opt/blender/blender (Docker image) # Override here if your install lives elsewhere. # BLENDER_BIN=/Applications/Blender.app/Contents/MacOS/Blender # These point at non-existent endpoints on HF (no model servers run as separate # processes). animoflow-api's _health_poller will log "unreachable" but won't crash. MDM_ENDPOINT=http://127.0.0.1:65500 PRIORMDM_ENDPOINT=http://127.0.0.1:65501 MOMASK_ENDPOINT=http://127.0.0.1:65502 MOMASK_PLUS_ENDPOINT=http://127.0.0.1:65503 KIMODO_ENDPOINT=http://127.0.0.1:65504 COMFYUI_URL=http://127.0.0.1:65505 # Health poll cadence — bumped high so we don't spam logs with "unreachable" HEALTH_POLL_INTERVAL=600 # Gradio / FastAPI port (HF Spaces convention is 7860) PORT=7860 # Disable PyTorch CUDA emulation warnings outside @spaces.GPU TRANSFORMERS_NO_ADVISORY_WARNINGS=1