stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Automated tqdm dispatching

Open LucaCappelletti94 opened this issue 2 years ago • 0 comments

TQDM offers a CLI and a GUI interface that are optimal for terminal and jupyter notebooks. This can be dispatched using their auto submodule instead of the root module.

Therefore, to make all bars in this package display the best bar given the environment, I switched all

from tqdm import tqdm

to

from tqdm.auto import tqdm

Cheers, Luca

LucaCappelletti94 avatar Jan 17 '23 17:01 LucaCappelletti94