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
d15c125d
Commit
d15c125d
authored
Oct 03, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6491b09c
34c63814
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
hints.js
javascript/hints.js
+1
-1
sd_samplers.py
modules/sd_samplers.py
+1
-1
ui.py
modules/ui.py
+1
-1
No files found.
javascript/hints.js
View file @
d15c125d
...
@@ -15,7 +15,7 @@ titles = {
...
@@ -15,7 +15,7 @@ titles = {
"
\
u267b
\
ufe0f"
:
"Reuse seed from last generation, mostly useful if it was randomed"
,
"
\
u267b
\
ufe0f"
:
"Reuse seed from last generation, mostly useful if it was randomed"
,
"
\
u{1f3a8}"
:
"Add a random artist to the prompt."
,
"
\
u{1f3a8}"
:
"Add a random artist to the prompt."
,
"
\
u2199
\
ufe0f"
:
"Read generation parameters from prompt into user interface."
,
"
\
u2199
\
ufe0f"
:
"Read generation parameters from prompt into user interface."
,
"
\
u
D83D
\
uDCC2
"
:
"Open images output directory"
,
"
\
u
{1f4c2}
"
:
"Open images output directory"
,
"Inpaint a part of image"
:
"Draw a mask over an image, and the script will regenerate the masked area with content according to prompt"
,
"Inpaint a part of image"
:
"Draw a mask over an image, and the script will regenerate the masked area with content according to prompt"
,
"SD upscale"
:
"Upscale image normally, split result into tiles, improve each tile using img2img, merge whole image back"
,
"SD upscale"
:
"Upscale image normally, split result into tiles, improve each tile using img2img, merge whole image back"
,
...
...
modules/sd_samplers.py
View file @
d15c125d
...
@@ -127,7 +127,7 @@ class VanillaStableDiffusionSampler:
...
@@ -127,7 +127,7 @@ class VanillaStableDiffusionSampler:
return
res
return
res
def
initialize
(
self
,
p
):
def
initialize
(
self
,
p
):
self
.
eta
=
p
.
eta
or
opts
.
eta_ddim
self
.
eta
=
p
.
eta
if
p
.
eta
is
not
None
else
opts
.
eta_ddim
for
fieldname
in
[
'p_sample_ddim'
,
'p_sample_plms'
]:
for
fieldname
in
[
'p_sample_ddim'
,
'p_sample_plms'
]:
if
hasattr
(
self
.
sampler
,
fieldname
):
if
hasattr
(
self
.
sampler
,
fieldname
):
...
...
modules/ui.py
View file @
d15c125d
...
@@ -69,7 +69,7 @@ random_symbol = '\U0001f3b2\ufe0f' # 🎲️
...
@@ -69,7 +69,7 @@ random_symbol = '\U0001f3b2\ufe0f' # 🎲️
reuse_symbol
=
'
\u267b\ufe0f
'
# ♻️
reuse_symbol
=
'
\u267b\ufe0f
'
# ♻️
art_symbol
=
'
\U0001f3a8
'
# 🎨
art_symbol
=
'
\U0001f3a8
'
# 🎨
paste_symbol
=
'
\u2199\ufe0f
'
# ↙
paste_symbol
=
'
\u2199\ufe0f
'
# ↙
folder_symbol
=
'
\
uD83D\uDCC2
'
folder_symbol
=
'
\
U0001f4c2
'
# 📂
def
plaintext_to_html
(
text
):
def
plaintext_to_html
(
text
):
text
=
"<p>"
+
"<br>
\n
"
.
join
([
f
"{html.escape(x)}"
for
x
in
text
.
split
(
'
\n
'
)])
+
"</p>"
text
=
"<p>"
+
"<br>
\n
"
.
join
([
f
"{html.escape(x)}"
for
x
in
text
.
split
(
'
\n
'
)])
+
"</p>"
...
...
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