Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
β’
c7fcbf2
1
Parent(s):
ba3082a
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ iface = gr.Interface(
|
|
44 |
fn=infer,
|
45 |
title="Zero-DCE for low-light image enhancement",
|
46 |
description = "Implementing Zero-Reference Deep Curve Estimation for low-light image enhancement.",
|
47 |
-
inputs=[gr.inputs.Image(label="
|
48 |
-
outputs=[gr.outputs.Image(label="
|
49 |
examples=examples,
|
50 |
article = "**Original Author**: [Soumik Rakshit](https://github.com/soumik12345) <br>**HF Contribution**: [Harveen Singh Chadha](https://github.com/harveenchadha)<br>",
|
51 |
-
).launch(debug=True)
|
|
|
44 |
fn=infer,
|
45 |
title="Zero-DCE for low-light image enhancement",
|
46 |
description = "Implementing Zero-Reference Deep Curve Estimation for low-light image enhancement.",
|
47 |
+
inputs=[gr.inputs.Image(label="Original Image", type="pil")],
|
48 |
+
outputs=[gr.outputs.Image(label="Enhanced Image", type="numpy")],
|
49 |
examples=examples,
|
50 |
article = "**Original Author**: [Soumik Rakshit](https://github.com/soumik12345) <br>**HF Contribution**: [Harveen Singh Chadha](https://github.com/harveenchadha)<br>",
|
51 |
+
).launch(debug=True, enable_queue=False, cache_examples=True)
|