mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-06 15:15:05 +08:00
fix tqdm not found on new instance
This commit is contained in:
parent
7afe7375e1
commit
b2f0040da7
@ -7,7 +7,6 @@ import importlib.util
|
||||
import platform
|
||||
import json
|
||||
from functools import lru_cache
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
from modules import cmd_args, errors
|
||||
from modules.paths_internal import script_path, extensions_dir
|
||||
@ -225,6 +224,7 @@ def run_extensions_installers(settings_file):
|
||||
if not os.path.isdir(extensions_dir):
|
||||
return
|
||||
|
||||
from tqdm.auto import tqdm
|
||||
pbar_extensions = tqdm(list_extensions(settings_file),
|
||||
bar_format="{desc}: |{bar}|{percentage:3.0f}% [{n_fmt}/{total_fmt} {elapsed}<{remaining}]")
|
||||
for dirname_extension in pbar_extensions:
|
||||
|
Loading…
Reference in New Issue
Block a user