Spaces:
Runtime error
Runtime error
Commit
•
ef7300c
1
Parent(s):
94ca5b6
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
#image_vertical = gr.Image(interactive=True, tool="color-sketch", source="canvas", type="pil", shape=(512, 768), visible=False, brush_radius=45)
|
114 |
#with gr.Row():
|
115 |
# aspect = gr.Radio(["Square", "Horizontal", "Vertical"], value="Square", label="Aspect Ratio")
|
116 |
-
button_run = gr.Button("I've finished my sketch",elem_id="main_button", interactive=True)
|
117 |
|
118 |
prompts = []
|
119 |
colors = []
|
|
|
113 |
#image_vertical = gr.Image(interactive=True, tool="color-sketch", source="canvas", type="pil", shape=(512, 768), visible=False, brush_radius=45)
|
114 |
#with gr.Row():
|
115 |
# aspect = gr.Radio(["Square", "Horizontal", "Vertical"], value="Square", label="Aspect Ratio")
|
116 |
+
button_run = gr.Button("I've finished my sketch",elem_id="main_button", interactive=True, _js=get_js_colors)
|
117 |
|
118 |
prompts = []
|
119 |
colors = []
|