CoolFace
Apppublic

mazzGOGO/TANGO-CHO

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
App README

TANGO-CHO API (DeepL header-auth fix)

This Space exposes:

  • GET /health
  • POST /translate (and /api/translate)
  • POST /synonyms (and /api/synonyms)

Secrets

  • DEEPL_AUTH_KEY (or legacy name DEEPL_KEY)
  • Optional: DEEPL_PLAN = free or pro
  • Optional: DEEPL_API_BASE (override base URL)
  • Optional: APP_TOKEN (if set, clients must send X-App-Token header)

Why this update?

DeepL deprecated legacy authentication methods (sending auth_key in query/body). Use Authorization: DeepL-Auth-Key <key> header instead.