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
0a7d1e75
Commit
0a7d1e75
authored
Mar 31, 2024
by
Andray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix upscaler 2
parent
859f0f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/postprocessing_upscale.py
scripts/postprocessing_upscale.py
+1
-1
No files found.
scripts/postprocessing_upscale.py
View file @
0a7d1e75
...
...
@@ -153,7 +153,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
pp
.
info
[
"Postprocess upscaler"
]
=
upscaler1
.
name
if
upscaler2
and
upscaler_2_visibility
>
0
:
second_upscale
=
self
.
upscale
(
pp
.
image
,
pp
.
info
,
upscaler2
,
upscale_mode
,
upscale_by
,
upscale_to_width
,
upscale_to_height
,
upscale_crop
)
second_upscale
=
self
.
upscale
(
pp
.
image
,
pp
.
info
,
upscaler2
,
upscale_mode
,
upscale_by
,
max_side_length
,
upscale_to_width
,
upscale_to_height
,
upscale_crop
)
upscaled_image
=
Image
.
blend
(
upscaled_image
,
second_upscale
,
upscaler_2_visibility
)
pp
.
info
[
"Postprocess upscaler 2"
]
=
upscaler2
.
name
...
...
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