NoCrypt commited on
Commit
d8a6a4b
1 Parent(s): 7f01191
Files changed (1) hide show
  1. app.py +1 -1
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, download], outputs=[output, status, download])
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");