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
636ff513
Commit
636ff513
authored
Jul 21, 2023
by
AUTOMATIC1111
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge pull request #11920 from wfjsw/typo-fix-1
typo fix
parent
51206edb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
modules/launch_utils.py
modules/launch_utils.py
+3
-3
modules/scripts.py
modules/scripts.py
+1
-1
webui.py
webui.py
+1
-1
No files found.
modules/launch_utils.py
View file @
636ff513
...
@@ -233,7 +233,7 @@ def run_extensions_installers(settings_file):
...
@@ -233,7 +233,7 @@ def run_extensions_installers(settings_file):
re_requirement
=
re
.
compile
(
r"\s*([-_a-zA-Z0-9]+)\s*(?:==\s*([-+_.a-zA-Z0-9]+))?\s*"
)
re_requirement
=
re
.
compile
(
r"\s*([-_a-zA-Z0-9]+)\s*(?:==\s*([-+_.a-zA-Z0-9]+))?\s*"
)
def
requrements_met
(
requirements_file
):
def
requ
i
rements_met
(
requirements_file
):
"""
"""
Does a simple parse of a requirements.txt file to determine if all rerqirements in it
Does a simple parse of a requirements.txt file to determine if all rerqirements in it
are already installed. Returns True if so, False if not installed or parsing fails.
are already installed. Returns True if so, False if not installed or parsing fails.
...
@@ -293,7 +293,7 @@ def prepare_environment():
...
@@ -293,7 +293,7 @@ def prepare_environment():
try
:
try
:
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
os
.
remove
(
os
.
path
.
join
(
script_path
,
"tmp"
,
"restart"
))
os
.
remove
(
os
.
path
.
join
(
script_path
,
"tmp"
,
"restart"
))
os
.
environ
.
setdefault
(
'SD_WEBUI_RESTARTING
'
,
'1'
)
os
.
environ
.
setdefault
(
'SD_WEBUI_RESTARTING'
,
'1'
)
except
OSError
:
except
OSError
:
pass
pass
...
@@ -354,7 +354,7 @@ def prepare_environment():
...
@@ -354,7 +354,7 @@ def prepare_environment():
if
not
os
.
path
.
isfile
(
requirements_file
):
if
not
os
.
path
.
isfile
(
requirements_file
):
requirements_file
=
os
.
path
.
join
(
script_path
,
requirements_file
)
requirements_file
=
os
.
path
.
join
(
script_path
,
requirements_file
)
if
not
requrements_met
(
requirements_file
):
if
not
requ
i
rements_met
(
requirements_file
):
run_pip
(
f
"install -r
\"
{requirements_file}
\"
"
,
"requirements"
)
run_pip
(
f
"install -r
\"
{requirements_file}
\"
"
,
"requirements"
)
run_extensions_installers
(
settings_file
=
args
.
ui_settings_file
)
run_extensions_installers
(
settings_file
=
args
.
ui_settings_file
)
...
...
modules/scripts.py
View file @
636ff513
...
@@ -119,7 +119,7 @@ class Script:
...
@@ -119,7 +119,7 @@ class Script:
def
after_extra_networks_activate
(
self
,
p
,
*
args
,
**
kwargs
):
def
after_extra_networks_activate
(
self
,
p
,
*
args
,
**
kwargs
):
"""
"""
Calledafter extra networks activation, before conds calculation
Called
after extra networks activation, before conds calculation
allow modification of the network after extra networks activation been applied
allow modification of the network after extra networks activation been applied
won't be call if p.disable_extra_networks
won't be call if p.disable_extra_networks
...
...
webui.py
View file @
636ff513
...
@@ -407,7 +407,7 @@ def webui():
...
@@ -407,7 +407,7 @@ def webui():
ssl_verify
=
cmd_opts
.
disable_tls_verify
,
ssl_verify
=
cmd_opts
.
disable_tls_verify
,
debug
=
cmd_opts
.
gradio_debug
,
debug
=
cmd_opts
.
gradio_debug
,
auth
=
gradio_auth_creds
,
auth
=
gradio_auth_creds
,
inbrowser
=
cmd_opts
.
autolaunch
and
os
.
getenv
(
'SD_WEBUI_RESTARTING
'
)
!=
'1'
,
inbrowser
=
cmd_opts
.
autolaunch
and
os
.
getenv
(
'SD_WEBUI_RESTARTING'
)
!=
'1'
,
prevent_thread_lock
=
True
,
prevent_thread_lock
=
True
,
allowed_paths
=
cmd_opts
.
gradio_allowed_path
,
allowed_paths
=
cmd_opts
.
gradio_allowed_path
,
app_kwargs
=
{
app_kwargs
=
{
...
...
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