JingyeChen22 commited on
Commit
3479394
1 Parent(s): 43c8bca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -963,7 +963,7 @@ with gr.Blocks() as demo:
963
  slider_guidance = gr.Slider(minimum=1, maximum=9, value=7.5, step=0.5, label="Scale of classifier-free guidance", info="The scale of classifier-free guidance and is set to 7.5 in default.")
964
  slider_batch = gr.Slider(minimum=1, maximum=4, value=4, step=1, label="Batch size", info="The number of images to be sampled. Maximum number is set to 1 for SD v2.1 to avoid OOM.")
965
  # binary = gr.Radio(["park", "zoo", "road"], label="Location", info="Where did they go?")
966
- binary = gr.Checkbox(label="Binarization", bool=True, info="Whether to binarize the template image? You may need it when using handwritten images as templates.")
967
  button = gr.Button("Generate")
968
 
969
  with gr.Column(scale=1):
 
963
  slider_guidance = gr.Slider(minimum=1, maximum=9, value=7.5, step=0.5, label="Scale of classifier-free guidance", info="The scale of classifier-free guidance and is set to 7.5 in default.")
964
  slider_batch = gr.Slider(minimum=1, maximum=4, value=4, step=1, label="Batch size", info="The number of images to be sampled. Maximum number is set to 1 for SD v2.1 to avoid OOM.")
965
  # binary = gr.Radio(["park", "zoo", "road"], label="Location", info="Where did they go?")
966
+ binary = gr.Checkbox(label="Binarization", value=True, info="Whether to binarize the template image? You may need it when using handwritten images as templates.")
967
  button = gr.Button("Generate")
968
 
969
  with gr.Column(scale=1):