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
49db24ce
Commit
49db24ce
authored
May 11, 2023
by
Aarni Koskela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
launch.py: Add debugging envvar to see install output
parent
4445314c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
launch.py
launch.py
+5
-2
No files found.
launch.py
View file @
49db24ce
...
...
@@ -22,6 +22,9 @@ stored_commit_hash = None
stored_git_tag
=
None
dir_repos
=
"repositories"
# Whether to default to printing command output
default_command_live
=
(
os
.
environ
.
get
(
'WEBUI_LAUNCH_LIVE_OUTPUT'
)
==
"1"
)
if
'GRADIO_ANALYTICS_ENABLED'
not
in
os
.
environ
:
os
.
environ
[
'GRADIO_ANALYTICS_ENABLED'
]
=
'False'
...
...
@@ -85,7 +88,7 @@ def git_tag():
return
stored_git_tag
def
run
(
command
,
desc
=
None
,
errdesc
=
None
,
custom_env
=
None
,
live
=
Fals
e
):
def
run
(
command
,
desc
=
None
,
errdesc
=
None
,
custom_env
=
None
,
live
:
bool
=
default_command_liv
e
):
if
desc
is
not
None
:
print
(
desc
)
...
...
@@ -135,7 +138,7 @@ def run_python(code, desc=None, errdesc=None):
return
run
(
f
'"{python}" -c "{code}"'
,
desc
,
errdesc
)
def
run_pip
(
command
,
desc
=
None
,
live
=
Fals
e
):
def
run_pip
(
command
,
desc
=
None
,
live
=
default_command_liv
e
):
if
args
.
skip_install
:
return
...
...
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