Skip to content

Instantly share code, notes, and snippets.

@MadisonSNYC
MadisonSNYC / tada_pod_server.py
Last active May 1, 2026 16:58
Nightcap TADA pod server
"""
Nightcap TADA Pod Server (RunPod backend, Phase B.7).
Loads TADA on startup, exposes POST /generate matching the gradio_client API
shape so tada_client.py can swap backends via the RUNPOD_URL env var.
Pod setup (run these manually after the pod is up):
# 0. SSH or open the web terminal into the RunPod pod.
cd /workspace