Spaces:
Sleeping
Sleeping
File size: 540 Bytes
c01955c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | import os
import sys
sys.path.append(os.getcwd())
from dotenv import load_dotenv
load_dotenv()
from logger import *
import logging
import asyncio
from src.CodeRunAndModelTrain.pipelines.JobFetcherPipeline import JobFetcherPipeline
from src.CodeRunAndModelTrain.models.model_train_models import Train as TrainSchema
async def main():
job_fetcher_pipeline=JobFetcherPipeline()
res=await job_fetcher_pipeline.initiate(
jobtile="machine learning intern",updated=False
)
logging.info(res)
asyncio.run(main())
|