Spaces:
Runtime error
Runtime error
Commit
Β·
dde0842
1
Parent(s):
5d14bf1
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import numpy as np
|
| 2 |
-
|
| 3 |
-
|
| 4 |
from PIL import Image
|
| 5 |
import tensorflow as tf
|
| 6 |
import keras
|
|
@@ -35,7 +35,7 @@ def infer(original_image):
|
|
| 35 |
output_image = np.uint32(output_image)
|
| 36 |
return output_image
|
| 37 |
|
| 38 |
-
iface =
|
| 39 |
fn=infer,
|
| 40 |
title="Low Light Image Enhancement",
|
| 41 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
+
|
| 3 |
+
import gradio as gr
|
| 4 |
from PIL import Image
|
| 5 |
import tensorflow as tf
|
| 6 |
import keras
|
|
|
|
| 35 |
output_image = np.uint32(output_image)
|
| 36 |
return output_image
|
| 37 |
|
| 38 |
+
iface = gr.Interface(
|
| 39 |
fn=infer,
|
| 40 |
title="Low Light Image Enhancement",
|
| 41 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|