Spaces:
Sleeping
Sleeping
Download api/dependencies.py from SantiCan/talently-api: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/spaces/SantiCan/talently-api/resolve/main/api/dependencies.py
- Command line
-
hf download hf://spaces/SantiCan/talently-api/api/dependencies.py
-
curl -L -o dependencies.py https://huggingface.co/spaces/SantiCan/talently-api/resolve/main/api/dependencies.py
642 Bytes
| from use_cases.analyze_cv import AnalyzeCVUseCase | |
| from services.pdf_extractor import PDFExtractorService | |
| from services.ner_service import NERService | |
| from services.classifier import ClassifierService | |
| from services.matcher import MatcherService | |
| from services.report_generator import ReportGeneratorService | |
| def get_analyze_use_case() -> AnalyzeCVUseCase: | |
| classifier = ClassifierService() | |
| return AnalyzeCVUseCase( | |
| pdf_extractor=PDFExtractorService(), | |
| ner_service=NERService(), | |
| classifier=classifier, | |
| matcher=MatcherService(classifier=classifier), | |
| report_generator=ReportGeneratorService(), | |
| ) | |