LivePortrait / src /utils /rprint.py
multimodalart's picture
Upload folder using huggingface_hub
a891a57 verified
raw
history blame contribute delete
248 Bytes
# coding: utf-8
"""
custom print and log functions
"""
__all__ = ['rprint', 'rlog']
try:
from rich.console import Console
console = Console()
rprint = console.print
rlog = console.log
except:
rprint = print
rlog = print