Spaces:
Runtime error
Runtime error
Commit
·
aea9e62
1
Parent(s):
b640916
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,9 @@ import keras
|
|
7 |
from huggingface_hub import from_pretrained_keras
|
8 |
#dfvds
|
9 |
|
10 |
-
|
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)
|
|
|
7 |
from huggingface_hub import from_pretrained_keras
|
8 |
#dfvds
|
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)
|