Spaces:
Sleeping
Sleeping
BlockDetail
commited on
Commit
•
dc045f6
1
Parent(s):
2a7bcc1
env
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
|
|
35 |
stroke_type = gr.Radio(["Blocking", "Detail"], value="Detail", label="Stroke Type"),
|
36 |
dilation_strength = gr.Slider(7, 117, value=65, step=2, label="Dilation Strength"),
|
37 |
canvas = gr.ImageEditor(min_width=512, brush = gr.Brush(colors=["#000000"], default_size = 2, color_mode="fixed"), width=512, height=512)
|
38 |
-
prompt_box = gr.Textbox(
|
39 |
with gr.Row():
|
40 |
btn = gr.Button("Generate", width=100, height=80)
|
41 |
btn2 = gr.Button("Reset", width=100, height=80)
|
|
|
35 |
stroke_type = gr.Radio(["Blocking", "Detail"], value="Detail", label="Stroke Type"),
|
36 |
dilation_strength = gr.Slider(7, 117, value=65, step=2, label="Dilation Strength"),
|
37 |
canvas = gr.ImageEditor(min_width=512, brush = gr.Brush(colors=["#000000"], default_size = 2, color_mode="fixed"), width=512, height=512)
|
38 |
+
prompt_box = gr.Textbox(label="Prompt")
|
39 |
with gr.Row():
|
40 |
btn = gr.Button("Generate", width=100, height=80)
|
41 |
btn2 = gr.Button("Reset", width=100, height=80)
|