linoyts HF staff commited on
Commit
6c3a5d9
1 Parent(s): 56d5bbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 instead of sketching")
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(