Spaces:
Sleeping
Sleeping
Download app.py from make789/OCRdeepSeekService: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/make789/OCRdeepSeekService/resolve/main/app.py
- Command line
-
hf download hf://spaces/make789/OCRdeepSeekService/app.py
-
curl -L -o app.py https://huggingface.co/spaces/make789/OCRdeepSeekService/resolve/main/app.py
357 Bytes
| """ | |
| HuggingFace Spaces compatibility layer for FastAPI OCR service | |
| This makes ocr_service.py work on HuggingFace Spaces | |
| Import the FastAPI app from ocr_service.py | |
| HuggingFace Spaces will run: uvicorn app:app --port 7860 | |
| """ | |
| from ocr_service import app | |
| # Export the app for HuggingFace Spaces | |
| # The Dockerfile CMD runs: uvicorn app:app | |
| __all__ = ['app'] | |