Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
110 |
guidance_scale = gr.Slider(
|
111 |
label="Guidance scale",
|
112 |
minimum=0.0,
|
113 |
-
maximum=
|
114 |
step=0.1,
|
115 |
value=7.0, # Replace with defaults that work for your model
|
116 |
)
|
@@ -119,14 +119,14 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
119 |
label="LoRA scale",
|
120 |
minimum=0.0,
|
121 |
maximum=1.0,
|
122 |
-
step=0.
|
123 |
value=1.0,
|
124 |
)
|
125 |
|
126 |
num_inference_steps = gr.Slider(
|
127 |
label="Number of inference steps",
|
128 |
minimum=1,
|
129 |
-
maximum=
|
130 |
step=1,
|
131 |
value=20, # Replace with defaults that work for your model
|
132 |
)
|
|
|
110 |
guidance_scale = gr.Slider(
|
111 |
label="Guidance scale",
|
112 |
minimum=0.0,
|
113 |
+
maximum=30.0,
|
114 |
step=0.1,
|
115 |
value=7.0, # Replace with defaults that work for your model
|
116 |
)
|
|
|
119 |
label="LoRA scale",
|
120 |
minimum=0.0,
|
121 |
maximum=1.0,
|
122 |
+
step=0.01,
|
123 |
value=1.0,
|
124 |
)
|
125 |
|
126 |
num_inference_steps = gr.Slider(
|
127 |
label="Number of inference steps",
|
128 |
minimum=1,
|
129 |
+
maximum=100,
|
130 |
step=1,
|
131 |
value=20, # Replace with defaults that work for your model
|
132 |
)
|