theanswer / README.md
Norod78's picture
Remove disclaimer block + check; runtime files only; hint 5–15 s; keep Doron README/requirements (no gradio pin)
565d5cd verified
|
Raw History Blame Contribute Delete
941 Bytes
---
title: שאלות על התשובה
emoji: 🎙️
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 6.29.1
app_file: app.py
pinned: false
---
Hebrew Gradio client for the public The Private "Answer v2 HTTP API" (`POST https://api.dadler.app/theanswer/ask`).
Layout: status, answer, claims table with a verified column (unverified quotes carry a small "לא אומת · unverified" label),
episode triage table, warnings. Right-to-left and phone-friendly; the API token stays a Space secret.
**Space secrets**
- `THEANSWER_API_TOKEN` (secret, required): Bearer token for `POST /theanswer/ask`
The API response contract is documented in the source repo at `v2/playground/README.md` ("Response contract"); `view_model.py` is the only module that reads API field names. Tunables (API URL, rate limit, UI strings, CSS) are in `config.yaml`. `SPACE_CONFIG` can point at a different file; `THEANSWER_API_URL` overrides the URL.