Spaces:
Configuration error
Configuration error
fix webui
Browse files
webui.py
CHANGED
|
@@ -139,7 +139,7 @@ def build_ui(model=list(models)[0], lock=False, rasterize=False, force_light=Fal
|
|
| 139 |
"while simple objects work best with shorter, 2-3 word captions."
|
| 140 |
)
|
| 141 |
# caption = gr.Textbox(label="Caption", info=info, placeholder="Type a caption...")
|
| 142 |
-
image = gr.Image(label="Image Input", type="pil"
|
| 143 |
label = "Model" + (f" ({lock_reason})" if lock else "")
|
| 144 |
model = gr.Dropdown(label=label, choices=list(models.items()), value=models[model], interactive=not lock) # type: ignore
|
| 145 |
with gr.Accordion(label="Advanced Options", open=False):
|
|
|
|
| 139 |
"while simple objects work best with shorter, 2-3 word captions."
|
| 140 |
)
|
| 141 |
# caption = gr.Textbox(label="Caption", info=info, placeholder="Type a caption...")
|
| 142 |
+
image = gr.Image(label="Image Input", type="pil")
|
| 143 |
label = "Model" + (f" ({lock_reason})" if lock else "")
|
| 144 |
model = gr.Dropdown(label=label, choices=list(models.items()), value=models[model], interactive=not lock) # type: ignore
|
| 145 |
with gr.Accordion(label="Advanced Options", open=False):
|