Omnibus commited on
Commit
a110ca8
1 Parent(s): 1f6d30c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks(title="Real-ESRGAN Gradio Demo", theme="dark") as demo:
215
  restore_btn.click(fn=realesrgan1,
216
  inputs=[input_image, model_name, denoise_strength, face_enhance, outscale],
217
  outputs=output_image)
218
- reset_btn.click(fn=reset, inputs=[], outputs=[output_image, input_image])
219
  # reset_btn.click(None, inputs=[], outputs=[input_image], _js="() => (null)\n")
220
  # Undocumented method to clear a component's value using Javascript
221
 
 
215
  restore_btn.click(fn=realesrgan1,
216
  inputs=[input_image, model_name, denoise_strength, face_enhance, outscale],
217
  outputs=output_image)
218
+ #reset_btn.click(fn=reset, inputs=[], outputs=[output_image, input_image])
219
  # reset_btn.click(None, inputs=[], outputs=[input_image], _js="() => (null)\n")
220
  # Undocumented method to clear a component's value using Javascript
221