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
4387e4fe
Unverified
Commit
4387e4fe
authored
Oct 15, 2022
by
MalumaDev
Committed by
GitHub
Oct 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update modules/ui.py
Co-authored-by:
Víctor Gallego
<
vicgalle@ucm.es
>
parent
7b7561f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ui.py
modules/ui.py
+2
-1
No files found.
modules/ui.py
View file @
4387e4fe
...
@@ -599,7 +599,8 @@ def create_ui(wrap_gradio_gpu_call):
...
@@ -599,7 +599,8 @@ def create_ui(wrap_gradio_gpu_call):
with
gr
.
Group
():
with
gr
.
Group
():
aesthetic_lr
=
gr
.
Textbox
(
label
=
'Learning rate'
,
placeholder
=
"Learning rate"
,
value
=
"0.0001"
)
aesthetic_lr
=
gr
.
Textbox
(
label
=
'Learning rate'
,
placeholder
=
"Learning rate"
,
value
=
"0.0001"
)
aesthetic_weight
=
gr
.
Slider
(
minimum
=
0
,
maximum
=
1
,
step
=
0.01
,
label
=
"Aesthetic weight"
,
value
=
0.9
)
aesthetic_weight
=
gr
.
Slider
(
minimum
=
0
,
maximum
=
1
,
step
=
0.01
,
label
=
"Aesthetic weight"
,
value
=
0.9
)
aesthetic_steps
=
gr
.
Slider
(
minimum
=
0
,
maximum
=
256
,
step
=
1
,
label
=
"Aesthetic steps"
,
value
=
5
)
aesthetic_steps
=
gr
.
Slider
(
minimum
=
0
,
maximum
=
50
,
step
=
1
,
label
=
"Aesthetic steps"
,
value
=
5
)
with
gr
.
Row
():
with
gr
.
Row
():
aesthetic_imgs_text
=
gr
.
Textbox
(
label
=
'Aesthetic text for imgs'
,
placeholder
=
"This text is used to rotate the feature space of the imgs embs"
,
value
=
""
)
aesthetic_imgs_text
=
gr
.
Textbox
(
label
=
'Aesthetic text for imgs'
,
placeholder
=
"This text is used to rotate the feature space of the imgs embs"
,
value
=
""
)
aesthetic_slerp_angle
=
gr
.
Slider
(
label
=
'Slerp angle'
,
minimum
=
0
,
maximum
=
1
,
step
=
0.01
,
value
=
0.1
)
aesthetic_slerp_angle
=
gr
.
Slider
(
label
=
'Slerp angle'
,
minimum
=
0
,
maximum
=
1
,
step
=
0.01
,
value
=
0.1
)
...
...
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