__version__ = '0.9.4' from loguru import logger import sys # Remove default handler logger.remove() # Add custom handler with clean format including module and line number logger.add( sys.stderr, format="{time:HH:mm:ss} | {module:>16}:{line} | {level: >8} | {message}", colorize=True, level="INFO" # "DEBUG" to enable logger.debug("message") and up prints # "ERROR" to enable only logger.error("message") prints # etc ) # Disable before release or as needed logger.disable("kokoro") from .model import KModel from .pipeline import KPipeline