hakim
data ingestion added
85bba48
raw
history blame
440 Bytes
from textsummarizer.pipeline.stage_01_data_ingestion import DataIngestionPipeline
from textsummarizer.logging import logger
STAGE_NAME = "Data Ingestion stage"
try:
logger.info(f">>>>>> stage {STAGE_NAME} started <<<<<<")
data_ingestion = DataIngestionPipeline()
data_ingestion.main()
logger.info(f">>>>>> stage {STAGE_NAME} completed <<<<<<\n\nx==========x")
except Exception as e:
logger.exception(e)
raise e