5 lines
149 B
Python
5 lines
149 B
Python
def disable_tqdm():
|
|
from tqdm import tqdm
|
|
from functools import partialmethod
|
|
tqdm.__init__ = partialmethod(tqdm.__init__, disable=True)
|