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
66a9ca9d
Commit
66a9ca9d
authored
Sep 06, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for incorrect progressbar
parent
5e206571
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
8 deletions
+0
-8
modules/img2img.py
modules/img2img.py
+0
-4
scripts/poor_mans_outpainting.py
scripts/poor_mans_outpainting.py
+0
-1
scripts/prompt_matrix.py
scripts/prompt_matrix.py
+0
-1
scripts/xy_grid.py
scripts/xy_grid.py
+0
-2
No files found.
modules/img2img.py
View file @
66a9ca9d
...
@@ -75,8 +75,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
...
@@ -75,8 +75,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
p
.
denoising_strength
=
max
(
p
.
denoising_strength
*
0.95
,
0.1
)
p
.
denoising_strength
=
max
(
p
.
denoising_strength
*
0.95
,
0.1
)
history
.
append
(
processed
.
images
[
0
])
history
.
append
(
processed
.
images
[
0
])
state
.
nextjob
()
grid
=
images
.
image_grid
(
history
,
batch_size
,
rows
=
1
)
grid
=
images
.
image_grid
(
history
,
batch_size
,
rows
=
1
)
images
.
save_image
(
grid
,
p
.
outpath_grids
,
"grid"
,
initial_seed
,
prompt
,
opts
.
grid_format
,
info
=
info
,
short_filename
=
not
opts
.
grid_extended_filename
)
images
.
save_image
(
grid
,
p
.
outpath_grids
,
"grid"
,
initial_seed
,
prompt
,
opts
.
grid_format
,
info
=
info
,
short_filename
=
not
opts
.
grid_extended_filename
)
...
@@ -123,8 +121,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
...
@@ -123,8 +121,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
p
.
seed
=
processed
.
seed
+
1
p
.
seed
=
processed
.
seed
+
1
work_results
+=
processed
.
images
work_results
+=
processed
.
images
state
.
nextjob
()
image_index
=
0
image_index
=
0
for
y
,
h
,
row
in
grid
.
tiles
:
for
y
,
h
,
row
in
grid
.
tiles
:
for
tiledata
in
row
:
for
tiledata
in
row
:
...
...
scripts/poor_mans_outpainting.py
View file @
66a9ca9d
...
@@ -95,7 +95,6 @@ class Script(scripts.Script):
...
@@ -95,7 +95,6 @@ class Script(scripts.Script):
p
.
seed
=
processed
.
seed
+
1
p
.
seed
=
processed
.
seed
+
1
work_results
+=
processed
.
images
work_results
+=
processed
.
images
state
.
nextjob
()
image_index
=
0
image_index
=
0
for
y
,
h
,
row
in
grid
.
tiles
:
for
y
,
h
,
row
in
grid
.
tiles
:
...
...
scripts/prompt_matrix.py
View file @
66a9ca9d
...
@@ -31,7 +31,6 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
...
@@ -31,7 +31,6 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
first_pocessed
=
processed
first_pocessed
=
processed
res
.
append
(
processed
.
images
[
0
])
res
.
append
(
processed
.
images
[
0
])
state
.
nextjob
()
grid
=
images
.
image_grid
(
res
,
rows
=
len
(
ys
))
grid
=
images
.
image_grid
(
res
,
rows
=
len
(
ys
))
grid
=
images
.
draw_grid_annotations
(
grid
,
res
[
0
]
.
width
,
res
[
0
]
.
height
,
hor_texts
,
ver_texts
)
grid
=
images
.
draw_grid_annotations
(
grid
,
res
[
0
]
.
width
,
res
[
0
]
.
height
,
hor_texts
,
ver_texts
)
...
...
scripts/xy_grid.py
View file @
66a9ca9d
...
@@ -80,8 +80,6 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
...
@@ -80,8 +80,6 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
res
.
append
(
processed
.
images
[
0
])
res
.
append
(
processed
.
images
[
0
])
state
.
nextjob
()
grid
=
images
.
image_grid
(
res
,
rows
=
len
(
ys
))
grid
=
images
.
image_grid
(
res
,
rows
=
len
(
ys
))
grid
=
images
.
draw_grid_annotations
(
grid
,
res
[
0
]
.
width
,
res
[
0
]
.
height
,
hor_texts
,
ver_texts
)
grid
=
images
.
draw_grid_annotations
(
grid
,
res
[
0
]
.
width
,
res
[
0
]
.
height
,
hor_texts
,
ver_texts
)
...
...
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