Spaces:
Runtime error
Runtime error
Commit
·
b640916
1
Parent(s):
6e2dcbb
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import from_pretrained_keras
|
|
9 |
|
10 |
#model = from_pretrained_keras("hbpkillerX/low_light_img_enhancer", compile=False)
|
11 |
|
12 |
-
model= tf.saved_model.load("hbpkillerX/low_light_img_enhancer")
|
13 |
|
14 |
def autocontrast(tensor, cutoff=0):
|
15 |
tensor = tf.cast(tensor, dtype=tf.float32)
|
|
|
9 |
|
10 |
#model = from_pretrained_keras("hbpkillerX/low_light_img_enhancer", compile=False)
|
11 |
|
12 |
+
model= tf.saved_model.load("hbpkillerX/low_light_img_enhancer/")
|
13 |
|
14 |
def autocontrast(tensor, cutoff=0):
|
15 |
tensor = tf.cast(tensor, dtype=tf.float32)
|