Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -187,6 +187,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
187 |
|
188 |
with gr.Column(elem_id="column_output"):
|
189 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
|
|
190 |
|
191 |
|
192 |
eraser.change(fn=lambda x: gr.update(value=not x), inputs=[eraser], outputs=[line]).then(update_canvas, [line, eraser], [image])
|
|
|
187 |
|
188 |
with gr.Column(elem_id="column_output"):
|
189 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
190 |
+
download_output = gr.Button("Download output", elem_id="download_output")
|
191 |
|
192 |
|
193 |
eraser.change(fn=lambda x: gr.update(value=not x), inputs=[eraser], outputs=[line]).then(update_canvas, [line, eraser], [image])
|