Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks(css="style.css", js=js_func) as demo:
|
|
238 |
image = gr.ImageEditor(type="pil", image_mode="L", crop_size=(512, 512))
|
239 |
prompt = gr.Textbox(label="Prompt")
|
240 |
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
241 |
-
use_hed = gr.Checkbox(label="use HED detector", value=False, info="check this box if you upload an image
|
242 |
run_button = gr.Button("Run")
|
243 |
with gr.Accordion("Advanced options", open=False):
|
244 |
negative_prompt = gr.Textbox(
|
|
|
238 |
image = gr.ImageEditor(type="pil", image_mode="L", crop_size=(512, 512))
|
239 |
prompt = gr.Textbox(label="Prompt")
|
240 |
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
241 |
+
use_hed = gr.Checkbox(label="use HED detector", value=False, info="check this box if you upload an image and want to turn it to a sketch")
|
242 |
run_button = gr.Button("Run")
|
243 |
with gr.Accordion("Advanced options", open=False):
|
244 |
negative_prompt = gr.Textbox(
|