Spaces:
Running on Zero
Running on Zero
Download src/__init__.py from vivekbarsagadey/ML: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/vivekbarsagadey/ML/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/vivekbarsagadey/ML/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/vivekbarsagadey/ML/resolve/main/src/__init__.py
1.04 kB
| """Package initialization for src.""" | |
| from src.config import ( | |
| HardwareSpecs, | |
| ModelConfig, | |
| GenerationConfig, | |
| DocumentConfig, | |
| RAGConfig, | |
| ) | |
| from src.domain import ChatTurn, MediaItem, MediaKind | |
| from src.registry import ModelRegistry, BaseModelRegistry, TransformersModelRegistry | |
| from src.ingestion import ( | |
| KnowledgeBaseService, | |
| BaseRetrievalStrategy, | |
| DocumentItem, | |
| DocumentChunk, | |
| DocumentParser, | |
| RAGStrategy, | |
| CAGStrategy, | |
| ) | |
| from src.services.inference_service import InferenceService | |
| from src.ui import render_hardware_header, create_control_panel, STUDIO_CSS | |
| from src.utils import get_spaces_accelerator | |
| __all__ = [ | |
| "HardwareSpecs", | |
| "ModelConfig", | |
| "GenerationConfig", | |
| "DocumentConfig", | |
| "RAGConfig", | |
| "ChatTurn", | |
| "MediaItem", | |
| "MediaKind", | |
| "ModelRegistry", | |
| "BaseModelRegistry", | |
| "TransformersModelRegistry", | |
| "KnowledgeBaseService", | |
| "BaseRetrievalStrategy", | |
| "DocumentItem", | |
| "DocumentChunk", | |
| "DocumentParser", | |
| "InferenceService", | |
| ] | |