Hermes Bot commited on
Commit ·
a80eed0
1
Parent(s): 09db071
Fix indentation in Inpaint UI after adding Run Forever checkbox
Browse files- ui/shared/inpaint_ui.py +7 -7
ui/shared/inpaint_ui.py
CHANGED
|
@@ -34,13 +34,13 @@ def create_ui():
|
|
| 34 |
scale=3,
|
| 35 |
allow_custom_value=True
|
| 36 |
)
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
|
| 45 |
components[f'model_and_run_row_{prefix}'] = [arch_row, model_and_run_row]
|
| 46 |
|
|
|
|
| 34 |
scale=3,
|
| 35 |
allow_custom_value=True
|
| 36 |
)
|
| 37 |
+
with gr.Column(scale=1):
|
| 38 |
+
components[f'run_{prefix}'] = gr.Button("Run Inpaint", variant="primary")
|
| 39 |
+
components[f'run_forever_{prefix}'] = gr.Checkbox(
|
| 40 |
+
label="Run Forever",
|
| 41 |
+
value=False,
|
| 42 |
+
elem_classes=["run-forever-checkbox"]
|
| 43 |
+
)
|
| 44 |
|
| 45 |
components[f'model_and_run_row_{prefix}'] = [arch_row, model_and_run_row]
|
| 46 |
|