Spaces:
Runtime error
Runtime error
try different app launch file
Browse files
app.py
CHANGED
@@ -23,4 +23,12 @@ img = gr.inputs.Image()
|
|
23 |
title = "Noise2Same: Optimizing A Self-Supervised Bound for Image Denoising"
|
24 |
description = "Interactive demo of Noise2Same, an image denoising method developed by Yaochen Xie"
|
25 |
|
26 |
-
gr.Interface(predict,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
title = "Noise2Same: Optimizing A Self-Supervised Bound for Image Denoising"
|
24 |
description = "Interactive demo of Noise2Same, an image denoising method developed by Yaochen Xie"
|
25 |
|
26 |
+
denoise = gr.Interface(fn=predict,
|
27 |
+
inputs=gr.Image(placeholder="Drag image here.", label='Input Image'),
|
28 |
+
outputs=gr.Image(placeholder="Output image will appear here.", label='Input Image'),
|
29 |
+
examples=[["lion.png"], ["arch.png"], ["parrot.png"]],
|
30 |
+
title=title, description=description)
|
31 |
+
|
32 |
+
#launching the app
|
33 |
+
if __name__ == "__main__":
|
34 |
+
denoise.launch(debug=True)
|