adpro commited on
Commit
ce28c4f
1 Parent(s): e8a5481

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -24,9 +24,10 @@ def infer(original_image):
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)
 
 
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=title,
30
+ description=description,
31
+ examples=examples,
32
+ enable_queue=True)
33
+ iface.launch(debug=True)