Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|