Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
a98ece3
1
Parent(s):
daafc99
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,6 @@ async () => {
|
|
160 |
"""
|
161 |
|
162 |
with gr.Blocks(css="style.css") as demo:
|
163 |
-
# these are hidden buttons that are used to trigger the canvas changes
|
164 |
gr.HTML("""<div id="header_block">
|
165 |
<img src="file=assets/title.png" alt="title" />
|
166 |
<img src="file=assets/logos.png" alt="title" />
|
@@ -175,7 +174,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
175 |
gr.HTML("""<img src="assets/drawCta.png" id="draw_cta" alt="draw here image" />
|
176 |
<button id="eraser" onclick="return DELETE_SKETCH_FUNCTION(this)">
|
177 |
<span id="eraser_icon"></span>
|
178 |
-
</button>""")
|
179 |
with gr.Group(elem_id="output_image_container", elem_classes="image_container"):
|
180 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
181 |
with gr.Row(elem_id="radio_row"):
|
|
|
160 |
"""
|
161 |
|
162 |
with gr.Blocks(css="style.css") as demo:
|
|
|
163 |
gr.HTML("""<div id="header_block">
|
164 |
<img src="file=assets/title.png" alt="title" />
|
165 |
<img src="file=assets/logos.png" alt="title" />
|
|
|
174 |
gr.HTML("""<img src="assets/drawCta.png" id="draw_cta" alt="draw here image" />
|
175 |
<button id="eraser" onclick="return DELETE_SKETCH_FUNCTION(this)">
|
176 |
<span id="eraser_icon"></span>
|
177 |
+
</button>""",elem_id="eraser_container")
|
178 |
with gr.Group(elem_id="output_image_container", elem_classes="image_container"):
|
179 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
180 |
with gr.Row(elem_id="radio_row"):
|