Spaces:
Sleeping
Sleeping
Download python_backend/src/Predictors/components/similarJobPrediction.py from VashuTheGreat2/ML-Learner: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Predictors/components/similarJobPrediction.py
- Command line
-
hf download hf://spaces/VashuTheGreat2/ML-Learner/python_backend/src/Predictors/components/similarJobPrediction.py
-
curl -L -o similarJobPrediction.py https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Predictors/components/similarJobPrediction.py
405 Bytes
| from utils.asyncHandler import asyncHandler | |
| from src.Predictors.data_acess.model_loader import Model | |
| from typing import List | |
| class SimilarJobPrediction: | |
| def __init__(self): | |
| self.model=Model() | |
| pass | |
| async def recommend(self,jobDiscription:str,userDetails:str): | |
| return await self.model.predict(job_discription=jobDiscription,userDetails=userDetails) | |