Files
audio-driven-face-animation/common/debug.py
T
2022-05-14 23:20:55 +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)