Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
a2a97e57
Commit
a2a97e57
authored
Aug 09, 2023
by
AUTOMATIC1111
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify
parent
f2ebcee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/launch_utils.py
modules/launch_utils.py
+5
-5
No files found.
modules/launch_utils.py
View file @
a2a97e57
...
@@ -7,6 +7,7 @@ import importlib.util
...
@@ -7,6 +7,7 @@ import importlib.util
import
platform
import
platform
import
json
import
json
from
functools
import
lru_cache
from
functools
import
lru_cache
import
tqdm
from
modules
import
cmd_args
,
errors
from
modules
import
cmd_args
,
errors
from
modules.paths_internal
import
script_path
,
extensions_dir
from
modules.paths_internal
import
script_path
,
extensions_dir
...
@@ -248,11 +249,10 @@ def run_extensions_installers(settings_file):
...
@@ -248,11 +249,10 @@ def run_extensions_installers(settings_file):
return
return
with
startup_timer
.
subcategory
(
"run extensions installers"
):
with
startup_timer
.
subcategory
(
"run extensions installers"
):
from
tqdm.auto
import
tqdm
progress_bar
=
tqdm
.
tqdm
(
list_extensions
(
settings_file
))
pbar_extensions
=
tqdm
(
list_extensions
(
settings_file
),
for
dirname_extension
in
progress_bar
:
bar_format
=
"{desc}: |{bar}|{percentage:3.0f}
%
[{n_fmt}/{total_fmt} {elapsed}<{remaining}]"
)
progress_bar
.
set_description
(
f
"Installing {dirname_extension}"
)
for
dirname_extension
in
pbar_extensions
:
pbar_extensions
.
set_description
(
"Installing
%
s"
%
dirname_extension
)
path
=
os
.
path
.
join
(
extensions_dir
,
dirname_extension
)
path
=
os
.
path
.
join
(
extensions_dir
,
dirname_extension
)
if
os
.
path
.
isdir
(
path
):
if
os
.
path
.
isdir
(
path
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment