adpro commited on
Commit
5d97bff
1 Parent(s): ba00dca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -24,10 +24,9 @@ def infer(original_image):
24
 
25
  iface = gr.Interface(
26
  fn=infer,
27
- inputs=gr.inputs.Image(type="pil"),
28
- outputs=gr.outputs.Image(type="pil", label="predicted"),
29
- title="",
30
- description="description",
31
- examples=examples,
32
- enable_queue=True)
33
- iface.launch(debug=True)
 
24
 
25
  iface = gr.Interface(
26
  fn=infer,
27
+ title="Low Light Image Enhancement",
28
+ description = "Keras Implementation of MIRNet model for light up the dark image 🌆🎆",
29
+ inputs=[gr.inputs.Image(label="image", type="pil", shape=(960, 640))],
30
+ outputs="image",
31
+ examples=examples,
32
+ 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>", cache_examples=True).launch(enable_queue=True)