Spaces:
Runtime error
Runtime error
Commit
Β·
8b2e89d
1
Parent(s):
b47adfd
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ model = from_pretrained_keras("Harveenchadha/low-light-image-enhancement", compi
|
|
| 11 |
|
| 12 |
|
| 13 |
def infer(original_image):
|
| 14 |
-
|
| 15 |
image = keras.preprocessing.image.img_to_array(original_image)
|
| 16 |
image = image.astype("float32") / 255.0
|
| 17 |
image = np.expand_dims(image, axis=0)
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
def infer(original_image):
|
| 14 |
+
|
| 15 |
image = keras.preprocessing.image.img_to_array(original_image)
|
| 16 |
image = image.astype("float32") / 255.0
|
| 17 |
image = np.expand_dims(image, axis=0)
|