# GEMINI_API_KEY: Required for Gemini AI API calls. # AI Studio automatically injects this at runtime from user secrets. # Users configure this via the Secrets panel in the AI Studio UI. GEMINI_API_KEY="MY_GEMINI_API_KEY" # APP_URL: The URL where this applet is hosted. # AI Studio automatically injects this at runtime with the Cloud Run service URL. # Used for self-referential links, OAuth callbacks, and API endpoints. APP_URL="MY_APP_URL" # Frontend API address. If unset, the app infers http://:8000. VITE_API_BASE_URL="http://192.168.3.11:8000" # Optional WebSocket override. If unset, it is derived from VITE_API_BASE_URL. VITE_WS_PROGRESS_URL="ws://192.168.3.11:8000/ws/progress" # Backend SAM runtime defaults. SAM 3 additionally requires the official sam3 # package, Python 3.12+, PyTorch 2.7+, and a CUDA-capable GPU per Meta's repo. sam_default_model="sam2" sam_model_path="/home/wkmgc/Desktop/Seg_Server/models/sam2_hiera_tiny.pt" sam_model_config="configs/sam2/sam2_hiera_t.yaml" sam3_model_version="sam3.1"