Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
b8f2dfed
Unverified
Commit
b8f2dfed
authored
Nov 05, 2022
by
AUTOMATIC1111
Committed by
GitHub
Nov 05, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4297 from AUTOMATIC1111/aria1th-patch-1
Fix errors from commit f2b697 with --hide-ui-dir-config
parents
994136b9
467d8b96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
ui.py
modules/ui.py
+8
-6
No files found.
modules/ui.py
View file @
b8f2dfed
...
@@ -1446,17 +1446,19 @@ def create_ui(wrap_gradio_gpu_call):
...
@@ -1446,17 +1446,19 @@ def create_ui(wrap_gradio_gpu_call):
continue
continue
oldval
=
opts
.
data
.
get
(
key
,
None
)
oldval
=
opts
.
data
.
get
(
key
,
None
)
try
:
setattr
(
opts
,
key
,
value
)
setattr
(
opts
,
key
,
value
)
except
RuntimeError
:
continue
if
oldval
!=
value
:
if
oldval
!=
value
:
if
opts
.
data_labels
[
key
]
.
onchange
is
not
None
:
if
opts
.
data_labels
[
key
]
.
onchange
is
not
None
:
opts
.
data_labels
[
key
]
.
onchange
()
opts
.
data_labels
[
key
]
.
onchange
()
changed
+=
1
changed
+=
1
try
:
opts
.
save
(
shared
.
config_filename
)
opts
.
save
(
shared
.
config_filename
)
except
RuntimeError
:
return
opts
.
dumpjson
(),
f
'{changed} settings changed without save.'
return
opts
.
dumpjson
(),
f
'{changed} settings changed.'
return
opts
.
dumpjson
(),
f
'{changed} settings changed.'
def
run_settings_single
(
value
,
key
):
def
run_settings_single
(
value
,
key
):
...
...
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