Spaces:
Sleeping
Sleeping
Download python_backend/src/Predictors/tests/similarJobPredictionPipeline_tests.py from VashuTheGreat2/ML-Learner: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Predictors/tests/similarJobPredictionPipeline_tests.py
- Command line
-
hf download hf://spaces/VashuTheGreat2/ML-Learner/python_backend/src/Predictors/tests/similarJobPredictionPipeline_tests.py
-
curl -L -o similarJobPredictionPipeline_tests.py https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Predictors/tests/similarJobPredictionPipeline_tests.py
550 Bytes
| import os | |
| import sys | |
| sys.path.append(os.getcwd()) | |
| from logger import * | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| import asyncio | |
| from src.Predictors.pipelines.similarPrediction_pipeline import SimilarJobPipeline | |
| from PIL import Image | |
| async def main(): | |
| similar_job_prediction_pipeline=SimilarJobPipeline() | |
| res=await similar_job_prediction_pipeline.initiate(jobDiscription="""digital marketing strategist innovatetech corp""",userDetails="""waqas zulfiqar professional summary customer o..""") | |
| print(res) | |
| asyncio.run(main()) | |