|
Download README.md from View1177/TextPhantom_OCR_API2_01: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/View1177/TextPhantom_OCR_API2_01/resolve/main/README.md
- Command line
-
hf download hf://spaces/View1177/TextPhantom_OCR_API2_01/README.md
-
curl -L -o README.md https://huggingface.co/spaces/View1177/TextPhantom_OCR_API2_01/resolve/main/README.md
595 Bytes
metadata
title: TextPhantom OCR API
emoji: 🪄
colorFrom: indigo
colorTo: pink
sdk: docker
app_port: 7860
pinned: false
FastAPI backend for TextPhantom (Chrome extension).
Endpoints
GET /healthGET /versionGET /warmup?lang=thPOST /translateGET /translate/{job_id}POST /ai/resolveGET /ai/modelsPOST /ws(WebSocket)
Environment
AI_API_KEY(optional)SERVER_MAX_WORKERS(default: 15)JOB_TTL_SEC(default: 3600)TP_DEBUG(set to1to enable debug logs)
For Spaces on small CPU, setting SERVER_MAX_WORKERS=2 is usually enough.