Download api/__init__.py from Fola-AI/FarmEyes: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/Fola-AI/FarmEyes/resolve/main/api/__init__.py
- Command line
-
hf download hf://spaces/Fola-AI/FarmEyes/api/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Fola-AI/FarmEyes/resolve/main/api/__init__.py
595 Bytes
| """ | |
| FarmEyes API Routes Package | |
| =========================== | |
| REST API endpoint modules for the FarmEyes application. | |
| Endpoints: | |
| - /api/detect - Disease detection from images | |
| - /api/chat - Contextual chat with N-ATLaS | |
| - /api/transcribe - Voice-to-text with Whisper | |
| - /api/session - Session management | |
| - /api/translate - Text translation | |
| """ | |
| from api.routes.detection import router as detection_router | |
| from api.routes.chat import router as chat_router | |
| from api.routes.transcribe import router as transcribe_router | |
| __all__ = [ | |
| "detection_router", | |
| "chat_router", | |
| "transcribe_router" | |
| ] | |