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
13866273
Commit
13866273
authored
Oct 03, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use dropdown instead of radio for img2img upscaler selection
parent
4c2eccf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/shared.py
modules/shared.py
+1
-1
No files found.
modules/shared.py
View file @
13866273
...
...
@@ -183,7 +183,7 @@ options_templates.update(options_section(('upscaling', "Upscaling"), {
"SWIN_tile"
:
OptionInfo
(
192
,
"Tile size for all SwinIR."
,
gr
.
Slider
,
{
"minimum"
:
16
,
"maximum"
:
512
,
"step"
:
16
}),
"SWIN_tile_overlap"
:
OptionInfo
(
8
,
"Tile overlap, in pixels for SwinIR. Low values = visible seam."
,
gr
.
Slider
,
{
"minimum"
:
0
,
"maximum"
:
48
,
"step"
:
1
}),
"ldsr_steps"
:
OptionInfo
(
100
,
"LDSR processing steps. Lower = faster"
,
gr
.
Slider
,
{
"minimum"
:
1
,
"maximum"
:
200
,
"step"
:
1
}),
"upscaler_for_img2img"
:
OptionInfo
(
None
,
"Upscaler for img2img"
,
gr
.
Radio
,
lambda
:
{
"choices"
:
[
x
.
name
for
x
in
sd_upscalers
]}),
"upscaler_for_img2img"
:
OptionInfo
(
None
,
"Upscaler for img2img"
,
gr
.
Dropdown
,
lambda
:
{
"choices"
:
[
x
.
name
for
x
in
sd_upscalers
]}),
}))
options_templates
.
update
(
options_section
((
'face-restoration'
,
"Face restoration"
),
{
...
...
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