Spaces:
Paused
Download README.md from SM737/satquery-api: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/spaces/SM737/satquery-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/SM737/satquery-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SM737/satquery-api/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.30.0
title: SatQuery API
emoji: 🛰️
colorFrom: blue
colorTo: green
sdk: gradio
app_file: app.py
python_version: 3.12.12
short_description: Satellite and aerial imagery analysis API
SatQuery FastAPI service launched by the Gradio Space Python runner on port 7860. This custom Python use of the Gradio SDK is an unofficial Hugging Face workflow. Set SATQUERY_CORS_ORIGINS in Space Settings to the exact Vercel frontend origin, for example https://satquery.vercel.app.
Attach a read-write Storage Bucket at /data, then set SATQUERY_ARTIFACT_DIR=/data/artifacts and SATQUERY_DATABASE_PATH=/data/artifacts/satquery.sqlite3 to preserve uploaded imagery, SQLite history, and analysis artifacts across Space restarts. Without those settings, the local artifacts directory is temporary.
ZeroGPU does not automatically accelerate this API. Its model calls are CPU-bound unless explicitly adapted to Hugging Face's ZeroGPU decorators; available CPU and memory may be insufficient for some analyses. Verify build logs and representative requests before relying on this deployment.
The /health endpoint checks service availability.
This API does not include user authentication. A public Space should be used with non-sensitive demonstration imagery only.