RavindranadhM's picture
Deploy manufacturing monitoring system
201b13c verified
Raw
History Blame Contribute Delete
510 Bytes
from core.logger import setup_logger, logger
def main():
"""
Entry point of the application.
"""
setup_logger()
logger.info("Starting Manufacturing Monitoring System...")
try:
# Import here to avoid circular dependencies
from live_camera import main as run_system
run_system()
except Exception as e:
logger.error(f"Application failed: {e}")
finally:
logger.info("System shutdown complete.")
if __name__ == "__main__":
main()