Maria
commited on
Commit
·
0b965d6
1
Parent(s):
11cde33
hw6
Browse files
app.py
CHANGED
|
@@ -65,7 +65,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 65 |
label="ControlNet strength",
|
| 66 |
minimum=0,
|
| 67 |
maximum=1,
|
| 68 |
-
step=0.
|
| 69 |
value=0.8,
|
| 70 |
visible=False
|
| 71 |
)
|
|
@@ -78,7 +78,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 78 |
label="IPAdapter scale",
|
| 79 |
minimum=0,
|
| 80 |
maximum=1,
|
| 81 |
-
step=0.
|
| 82 |
value=0.8,
|
| 83 |
visible=False
|
| 84 |
)
|
|
@@ -116,8 +116,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 116 |
guidance_scale = gr.Slider(
|
| 117 |
label="Guidance scale",
|
| 118 |
minimum=0.0,
|
| 119 |
-
maximum=
|
| 120 |
-
step=0.
|
| 121 |
value=7.0, # Replace with defaults that work for your model
|
| 122 |
)
|
| 123 |
|
|
@@ -133,7 +133,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 133 |
label="Number of inference steps",
|
| 134 |
minimum=1,
|
| 135 |
maximum=50,
|
| 136 |
-
step=
|
| 137 |
value=20, # Replace with defaults that work for your model
|
| 138 |
)
|
| 139 |
|
|
|
|
| 65 |
label="ControlNet strength",
|
| 66 |
minimum=0,
|
| 67 |
maximum=1,
|
| 68 |
+
step=0.1,
|
| 69 |
value=0.8,
|
| 70 |
visible=False
|
| 71 |
)
|
|
|
|
| 78 |
label="IPAdapter scale",
|
| 79 |
minimum=0,
|
| 80 |
maximum=1,
|
| 81 |
+
step=0.1,
|
| 82 |
value=0.8,
|
| 83 |
visible=False
|
| 84 |
)
|
|
|
|
| 116 |
guidance_scale = gr.Slider(
|
| 117 |
label="Guidance scale",
|
| 118 |
minimum=0.0,
|
| 119 |
+
maximum=15.0,
|
| 120 |
+
step=0.5,
|
| 121 |
value=7.0, # Replace with defaults that work for your model
|
| 122 |
)
|
| 123 |
|
|
|
|
| 133 |
label="Number of inference steps",
|
| 134 |
minimum=1,
|
| 135 |
maximum=50,
|
| 136 |
+
step=5,
|
| 137 |
value=20, # Replace with defaults that work for your model
|
| 138 |
)
|
| 139 |
|