stable-diffusion
stable-diffusion copied to clipboard
Automated tqdm dispatching
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