Spaces:
Sleeping
Sleeping
BlockDetail
commited on
Commit
•
23f02ce
1
Parent(s):
7482202
env
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ with gr.Blocks() as demo:
|
|
36 |
with gr.Row():
|
37 |
stroke_type = gr.Radio(["Blocking", "Detail"], value="Detail", label="Stroke Type"),
|
38 |
dilation_strength = gr.Slider(7, 117, value=65, step=2, label="Dilation Strength"),
|
39 |
-
canvas = gr.Sketchpad(sources
|
40 |
prompt_box = gr.Textbox(label="Prompt")
|
41 |
with gr.Row():
|
42 |
btn = gr.Button("Generate")
|
|
|
36 |
with gr.Row():
|
37 |
stroke_type = gr.Radio(["Blocking", "Detail"], value="Detail", label="Stroke Type"),
|
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")
|