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
5b6a585a
Commit
5b6a585a
authored
Sep 09, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into seeds
parents
efde17e8
17a7477c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+1
-1
modules/processing.py
modules/processing.py
+3
-1
No files found.
README.md
View file @
5b6a585a
...
@@ -8,7 +8,7 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -8,7 +8,7 @@ A browser interface based on Gradio library for Stable Diffusion.
[
Detailed feature showcase with images, art by Greg Rutkowski
](
https://github.com/AUTOMATIC1111/stable-diffusion-webui-feature-showcase
)
[
Detailed feature showcase with images, art by Greg Rutkowski
](
https://github.com/AUTOMATIC1111/stable-diffusion-webui-feature-showcase
)
-
Original txt2img and img2img modes
-
Original txt2img and img2img modes
-
One click install and run script (but you still must install python
, git and CUDA
)
-
One click install and run script (but you still must install python
and git
)
-
Outpainting
-
Outpainting
-
Inpainting
-
Inpainting
-
Prompt matrix
-
Prompt matrix
...
...
modules/processing.py
View file @
5b6a585a
...
@@ -205,7 +205,9 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
...
@@ -205,7 +205,9 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
generation_params_text
=
", "
.
join
([
k
if
k
==
v
else
f
'{k}: {v}'
for
k
,
v
in
generation_params
.
items
()
if
v
is
not
None
])
generation_params_text
=
", "
.
join
([
k
if
k
==
v
else
f
'{k}: {v}'
for
k
,
v
in
generation_params
.
items
()
if
v
is
not
None
])
return
f
"{p.prompt_for_display or prompt}
\n
{generation_params_text}"
.
strip
()
+
""
.
join
([
"
\n\n
"
+
x
for
x
in
comments
])
negative_prompt_text
=
"
\n
Negative prompt: "
+
p
.
negative_prompt
if
p
.
negative_prompt
else
""
return
f
"{p.prompt_for_display or prompt}{negative_prompt_text}
\n
{generation_params_text}"
.
strip
()
+
""
.
join
([
"
\n\n
"
+
x
for
x
in
comments
])
if
os
.
path
.
exists
(
cmd_opts
.
embeddings_dir
):
if
os
.
path
.
exists
(
cmd_opts
.
embeddings_dir
):
model_hijack
.
load_textual_inversion_embeddings
(
cmd_opts
.
embeddings_dir
,
p
.
sd_model
)
model_hijack
.
load_textual_inversion_embeddings
(
cmd_opts
.
embeddings_dir
,
p
.
sd_model
)
...
...
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