Commit
·
08404f5
1
Parent(s):
d42756a
Update app.py
Browse files
app.py
CHANGED
@@ -89,12 +89,12 @@ with gr.Blocks(css=css) as demo:
|
|
89 |

|
90 |
''')
|
91 |
with gr.Box(elem_id="main-image"):
|
92 |
-
with gr.Accordion(open=True, label="Your color sketch") as sketch_accordion:
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
|
99 |
prompts = []
|
100 |
colors = []
|
|
|
89 |

|
90 |
''')
|
91 |
with gr.Box(elem_id="main-image"):
|
92 |
+
#with gr.Accordion(open=True, label="Your color sketch") as sketch_accordion:
|
93 |
+
with gr.Row():
|
94 |
+
image = gr.Image(interactive=True, tool="color-sketch", source="canvas", type="pil")
|
95 |
+
with gr.Row():
|
96 |
+
aspect = gr.Radio(["Square", "Horizontal", "Vertical"], value="Square", label="Aspect Ratio")
|
97 |
+
button_run = gr.Button("I've finished my sketch",elem_id="main_button")
|
98 |
|
99 |
prompts = []
|
100 |
colors = []
|