Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
|
|
32 |
output = gr.Image(elem_id="output_image", label="Output", interactive=False, type="pil", visible=False)
|
33 |
download = gr.Button(value="Download", interactive=True)
|
34 |
|
35 |
-
btn.click(process_image, inputs=[text, input_img
|
36 |
download.click(lambda x: x, inputs=[output], outputs=[output], _js="""
|
37 |
(e)=>{
|
38 |
var a = document.createElement("a");
|
|
|
32 |
output = gr.Image(elem_id="output_image", label="Output", interactive=False, type="pil", visible=False)
|
33 |
download = gr.Button(value="Download", interactive=True)
|
34 |
|
35 |
+
btn.click(process_image, inputs=[text, input_img], outputs=[output, status])
|
36 |
download.click(lambda x: x, inputs=[output], outputs=[output], _js="""
|
37 |
(e)=>{
|
38 |
var a = document.createElement("a");
|