ShkShahid commited on
Commit
b82e98f
Β·
1 Parent(s): 280325e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import keras
5
  from huggingface_hub import from_pretrained_keras
6
 
7
 
8
- model = from_pretrained_keras("keras-io/lowlight-enhance-mirnet", compile=False)
9
  #examples = ['examples/179.png', 'examples/493.png', 'examples/780.png']
10
 
11
 
@@ -28,6 +28,6 @@ iface = gr.Interface(
28
  description = "Keras Implementation Reconstructing Low Dynamic Range Images To High Dynamic Range Images πŸŒ†πŸŽ†",
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>",
33
  ).launch(enable_queue=True)
 
5
  from huggingface_hub import from_pretrained_keras
6
 
7
 
8
+ #model = from_pretrained_keras("keras-io/lowlight-enhance-mirnet", compile=False)
9
  #examples = ['examples/179.png', 'examples/493.png', 'examples/780.png']
10
 
11
 
 
28
  description = "Keras Implementation Reconstructing Low Dynamic Range Images To High Dynamic Range Images πŸŒ†πŸŽ†",
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>",
33
  ).launch(enable_queue=True)