Spaces:
Runtime error
Runtime error
syedusama5556
commited on
Commit
•
88b79b7
1
Parent(s):
4ef0a4a
Update app.py
Browse files
app.py
CHANGED
@@ -208,7 +208,7 @@ def main():
|
|
208 |
input_image.change(fn=image_properties, inputs=input_image, outputs=input_image_properties)
|
209 |
restore_btn.click(fn=realesrgan,
|
210 |
inputs=[input_image, model_name, denoise_strength, face_enhance, outscale],
|
211 |
-
outputs=output_image)
|
212 |
reset_btn.click(fn=reset, inputs=[], outputs=[output_image, input_image])
|
213 |
# reset_btn.click(None, inputs=[], outputs=[input_image], _js="() => (null)\n")
|
214 |
# Undocumented method to clear a component's value using Javascript
|
|
|
208 |
input_image.change(fn=image_properties, inputs=input_image, outputs=input_image_properties)
|
209 |
restore_btn.click(fn=realesrgan,
|
210 |
inputs=[input_image, model_name, denoise_strength, face_enhance, outscale],
|
211 |
+
outputs=output_image,api_name="restore")
|
212 |
reset_btn.click(fn=reset, inputs=[], outputs=[output_image, input_image])
|
213 |
# reset_btn.click(None, inputs=[], outputs=[input_image], _js="() => (null)\n")
|
214 |
# Undocumented method to clear a component's value using Javascript
|