Files
audio-driven-face-animation/common/debug.py
T
2025-05-24 20:09:02 +08:00

10 lines
146 B
Python

def debug(opt=None, msg="", verbose=False):
if opt is None or verbose:
print(msg)
if opt.DEBUG or verbose:
print(msg)