f9e4601792
- Check if ACE-Step API is running at startup (GET /health) - If API available: use REST endpoints (POST /release_task, POST /query_result, GET /v1/audio) - Model is already loaded by the API server, no double initialization - If API not available: fall back to Python spawn (existing behavior) - Model loads once via Python script This prevents the issue where running `acestep-api --port 8001` loads the model, then the UI spawns Python which loads it again, consuming double VRAM. API response is cached for the session to avoid repeated health checks.