Hermes Bot commited on
Commit ·
3522e52
1
Parent(s): 5aeb3d7
Remove Run Forever checkbox from all UI tabs
Browse files- ui/shared/hires_fix_ui.py +1 -1
- ui/shared/img2img_ui.py +1 -5
- ui/shared/inpaint_ui.py +1 -5
- ui/shared/outpaint_ui.py +1 -5
- ui/shared/txt2img_ui.py +1 -5
ui/shared/hires_fix_ui.py
CHANGED
|
@@ -36,7 +36,7 @@ def create_ui():
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Hires. Fix", variant="primary")
|
| 39 |
-
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=1):
|
|
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Hires. Fix", variant="primary")
|
| 39 |
+
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=1):
|
ui/shared/img2img_ui.py
CHANGED
|
@@ -30,11 +30,7 @@ def create_ui():
|
|
| 30 |
components[f'base_model_{prefix}'] = gr.Dropdown(label="Base Model", choices=list(MODEL_MAP_CHECKPOINT.keys()), value=list(MODEL_MAP_CHECKPOINT.keys())[0], scale=3, allow_custom_value=True)
|
| 31 |
with gr.Column(scale=1):
|
| 32 |
components[f'run_{prefix}'] = gr.Button("Run", variant="primary")
|
| 33 |
-
|
| 34 |
-
label="Run Forever",
|
| 35 |
-
value=False,
|
| 36 |
-
elem_classes=["run-forever-checkbox"]
|
| 37 |
-
)
|
| 38 |
|
| 39 |
with gr.Row():
|
| 40 |
with gr.Column(scale=1):
|
|
|
|
| 30 |
components[f'base_model_{prefix}'] = gr.Dropdown(label="Base Model", choices=list(MODEL_MAP_CHECKPOINT.keys()), value=list(MODEL_MAP_CHECKPOINT.keys())[0], scale=3, allow_custom_value=True)
|
| 31 |
with gr.Column(scale=1):
|
| 32 |
components[f'run_{prefix}'] = gr.Button("Run", variant="primary")
|
| 33 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column(scale=1):
|
ui/shared/inpaint_ui.py
CHANGED
|
@@ -36,11 +36,7 @@ def create_ui():
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Inpaint", variant="primary")
|
| 39 |
-
|
| 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 |
|
|
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Inpaint", variant="primary")
|
| 39 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
components[f'model_and_run_row_{prefix}'] = [arch_row, model_and_run_row]
|
| 42 |
|
ui/shared/outpaint_ui.py
CHANGED
|
@@ -36,11 +36,7 @@ def create_ui():
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Outpaint", variant="primary")
|
| 39 |
-
|
| 40 |
-
label="Run Forever",
|
| 41 |
-
value=False,
|
| 42 |
-
elem_classes=["run-forever-checkbox"]
|
| 43 |
-
)
|
| 44 |
|
| 45 |
with gr.Row():
|
| 46 |
with gr.Column(scale=1):
|
|
|
|
| 36 |
)
|
| 37 |
with gr.Column(scale=1):
|
| 38 |
components[f'run_{prefix}'] = gr.Button("Run Outpaint", variant="primary")
|
| 39 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=1):
|
ui/shared/txt2img_ui.py
CHANGED
|
@@ -32,11 +32,7 @@ def create_ui():
|
|
| 32 |
)
|
| 33 |
with gr.Column(scale=1):
|
| 34 |
components[f'run_{prefix}'] = gr.Button("Run", variant="primary")
|
| 35 |
-
|
| 36 |
-
label="Run Forever",
|
| 37 |
-
value=False,
|
| 38 |
-
elem_classes=["run-forever-checkbox"]
|
| 39 |
-
)
|
| 40 |
|
| 41 |
# Prompt fields
|
| 42 |
components[f'prompt_{prefix}'] = gr.Text(label="Prompt", lines=3)
|
|
|
|
| 32 |
)
|
| 33 |
with gr.Column(scale=1):
|
| 34 |
components[f'run_{prefix}'] = gr.Button("Run", variant="primary")
|
| 35 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Prompt fields
|
| 38 |
components[f'prompt_{prefix}'] = gr.Text(label="Prompt", lines=3)
|