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
7b7f7e93
Unverified
Commit
7b7f7e93
authored
Dec 25, 2022
by
AUTOMATIC1111
Committed by
GitHub
Dec 25, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6003 from eaglgenes101/settings-css-classes
Add CSS classes for the settings panels
parents
b12de850
f60c24f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ui.py
modules/ui.py
+2
-2
No files found.
modules/ui.py
View file @
7b7f7e93
...
...
@@ -657,7 +657,7 @@ def create_ui():
setup_progressbar
(
progressbar
,
txt2img_preview
,
'txt2img'
)
with
gr
.
Row
()
.
style
(
equal_height
=
False
):
with
gr
.
Column
(
variant
=
'panel'
):
with
gr
.
Column
(
variant
=
'panel'
,
elem_id
=
"txt2img_settings"
):
steps
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
150
,
step
=
1
,
label
=
"Sampling Steps"
,
value
=
20
)
sampler_index
=
gr
.
Radio
(
label
=
'Sampling method'
,
elem_id
=
"txt2img_sampling"
,
choices
=
[
x
.
name
for
x
in
samplers
],
value
=
samplers
[
0
]
.
name
,
type
=
"index"
)
...
...
@@ -812,7 +812,7 @@ def create_ui():
setup_progressbar
(
progressbar
,
img2img_preview
,
'img2img'
)
with
gr
.
Row
()
.
style
(
equal_height
=
False
):
with
gr
.
Column
(
variant
=
'panel'
):
with
gr
.
Column
(
variant
=
'panel'
,
elem_id
=
"img2img_settings"
):
with
gr
.
Tabs
(
elem_id
=
"mode_img2img"
)
as
tabs_img2img_mode
:
with
gr
.
TabItem
(
'img2img'
,
id
=
'img2img'
):
...
...
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