aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalumaDev <piano.lu92@gmail.com>2022-10-15 18:39:29 +0200
committerGitHub <noreply@github.com>2022-10-15 18:39:29 +0200
commit4387e4fe6479c08f7bc7e42924c3a1093e3a1872 (patch)
tree560d21d4f405b5bd3e91cb38880cc6eb837ca7b9
parent7b7561f6e4be3b591d845f14743bac2069e6428e (diff)
Update modules/ui.py
Co-authored-by: VĂ­ctor Gallego <vicgalle@ucm.es>
-rw-r--r--modules/ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index d0696101..5bb961b2 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -599,7 +599,8 @@ def create_ui(wrap_gradio_gpu_call):
with gr.Group():
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_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():
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)