BlockDetail commited on
Commit
8794666
1 Parent(s): 487acfb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ with gr.Blocks() as demo:
36
  with gr.Row():
37
  gr.Textbox(label="Stroke Type", value="To sketch Blocking strokes, change brush color to green. To sketch Detail strokes, change brush color to black."),
38
  dilation_strength = gr.Slider(7, 117, value=65, step=2, label="Dilation Strength"),
39
- canvas = gr.Sketchpad(label="Sketch", sources=(), width=512, brush = gr.Brush(colors=["#000000"], default_size = 2, color_mode="fixed"), height=512)
40
  prompt_box = gr.Textbox(label="Prompt")
41
  with gr.Row():
42
  btn = gr.Button("Generate")
 
36
  with gr.Row():
37
  gr.Textbox(label="Stroke Type", value="To sketch Blocking strokes, change brush color to green. To sketch Detail strokes, change brush color to black."),
38
  dilation_strength = gr.Slider(7, 117, value=65, step=2, label="Dilation Strength"),
39
+ canvas = gr.Sketchpad(label="Sketch", sources=(), width=512, brush = gr.Brush(colors=["#00FF00", "#000000"], default_size = 2, color_mode="fixed"), height=512)
40
  prompt_box = gr.Textbox(label="Prompt")
41
  with gr.Row():
42
  btn = gr.Button("Generate")