Spaces:
Sleeping
Sleeping
File size: 405 Bytes
c01955c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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
@asyncHandler
async def recommend(self,jobDiscription:str,userDetails:str):
return await self.model.predict(job_discription=jobDiscription,userDetails=userDetails)
|