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
ddc86f2e
Commit
ddc86f2e
authored
Sep 12, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--gradio-debug for collab users
parent
c50fa7a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/shared.py
modules/shared.py
+1
-0
webui.py
webui.py
+1
-1
No files found.
modules/shared.py
View file @
ddc86f2e
...
...
@@ -41,6 +41,7 @@ parser.add_argument("--port", type=int, help="launch gradio with given server po
parser
.
add_argument
(
"--show-negative-prompt"
,
action
=
'store_true'
,
help
=
"does not do anything"
,
default
=
False
)
parser
.
add_argument
(
"--ui-config-file"
,
type
=
str
,
help
=
"filename to use for ui configuration"
,
default
=
os
.
path
.
join
(
script_path
,
'ui-config.json'
))
parser
.
add_argument
(
"--ui-settings-file"
,
type
=
str
,
help
=
"filename to use for ui settings"
,
default
=
os
.
path
.
join
(
script_path
,
'config.json'
))
parser
.
add_argument
(
"--gradio-debug"
,
action
=
'store_true'
,
help
=
"launch gradio with --debug option"
)
cmd_opts
=
parser
.
parse_args
()
...
...
webui.py
View file @
ddc86f2e
...
...
@@ -115,7 +115,7 @@ def webui():
run_pnginfo
=
modules
.
extras
.
run_pnginfo
)
demo
.
launch
(
share
=
cmd_opts
.
share
,
server_name
=
"0.0.0.0"
if
cmd_opts
.
listen
else
None
,
server_port
=
cmd_opts
.
port
)
demo
.
launch
(
share
=
cmd_opts
.
share
,
server_name
=
"0.0.0.0"
if
cmd_opts
.
listen
else
None
,
server_port
=
cmd_opts
.
port
,
debug
=
cmd_opts
.
gradio_debug
)
if
__name__
==
"__main__"
:
...
...
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