Spaces:
Runtime error
Runtime error
Commit
Β·
2355673
1
Parent(s):
20a93dc
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import from_pretrained_keras
|
|
7 |
|
8 |
|
9 |
model = from_pretrained_keras("Harveenchadha/low-light-image-enhancement", compile=False)
|
10 |
-
examples = ['examples/179.png', 'examples/493.png', 'examples/780.png']
|
11 |
|
12 |
|
13 |
def infer(original_image):
|
@@ -30,6 +30,6 @@ iface = gr.Interface(
|
|
30 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|
31 |
inputs=[gr.inputs.Image(label="image", type="pil")],
|
32 |
outputs="image",
|
33 |
-
examples=examples,
|
34 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/vision/mirnet/\">Soumik Rakshit</a>",
|
35 |
).launch(debug=True)
|
|
|
7 |
|
8 |
|
9 |
model = from_pretrained_keras("Harveenchadha/low-light-image-enhancement", compile=False)
|
10 |
+
#examples = ['examples/179.png', 'examples/493.png', 'examples/780.png']
|
11 |
|
12 |
|
13 |
def infer(original_image):
|
|
|
30 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|
31 |
inputs=[gr.inputs.Image(label="image", type="pil")],
|
32 |
outputs="image",
|
33 |
+
#examples=examples,
|
34 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/vision/mirnet/\">Soumik Rakshit</a>",
|
35 |
).launch(debug=True)
|