-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.py
More file actions
26 lines (19 loc) · 700 Bytes
/
demo.py
File metadata and controls
26 lines (19 loc) · 700 Bytes
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
# from src.logger import logging
# logging.debug("This is a debug message.")
# logging.info("This is an info message.")
# logging.warning("This is a warning message.")
# logging.error("This is an error message.")
# logging.critical("This is a critical message.")
# # below code is to check the exception config
# from src.logger import logging
# from src.exception import MyException
# import sys
# try:
# a = 1+'Z'
# except Exception as e:
# logging.info(e)
# raise MyException(e, sys) from e
# --------------------------------------------------------------------------------
from src.pipline.training_pipeline import TrainPipeline
pipline = TrainPipeline()
pipline.run_pipeline()