Spaces:
Sleeping
Sleeping
Download api/__init__.py from jatinmehra/PDF-Insight-PRO: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/spaces/jatinmehra/PDF-Insight-PRO/resolve/main/api/__init__.py
- Command line
-
hf download hf://spaces/jatinmehra/PDF-Insight-PRO/api/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jatinmehra/PDF-Insight-PRO/resolve/main/api/__init__.py
664 Bytes
| """ | |
| API routes module initialization. | |
| This module provides easy imports for all API route handlers. | |
| """ | |
| from .upload_routes import upload_pdf_handler | |
| from .chat_routes import chat_handler | |
| from .session_routes import ( | |
| get_chat_history_handler, | |
| clear_history_handler, | |
| remove_pdf_handler | |
| ) | |
| from .utility_routes import ( | |
| root_handler, | |
| get_models_handler | |
| ) | |
| __all__ = [ | |
| # Upload routes | |
| "upload_pdf_handler", | |
| # Chat routes | |
| "chat_handler", | |
| # Session routes | |
| "get_chat_history_handler", | |
| "clear_history_handler", | |
| "remove_pdf_handler", | |
| # Utility routes | |
| "root_handler", | |
| "get_models_handler" | |
| ] | |