Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,7 @@ import matplotlib.pyplot as plt
|
|
6 |
import cv2
|
7 |
import numpy as np
|
8 |
from tensorflow.keras.preprocessing.image import img_to_array
|
9 |
-
|
10 |
-
|
11 |
-
model = TFAutoModel.from_pretrained("asaderu/bananafreshness")
|
12 |
|
13 |
def prosesgambar(gambar):
|
14 |
# load the image
|
|
|
6 |
import cv2
|
7 |
import numpy as np
|
8 |
from tensorflow.keras.preprocessing.image import img_to_array
|
9 |
+
model = load_model("pisang.h5")
|
|
|
|
|
10 |
|
11 |
def prosesgambar(gambar):
|
12 |
# load the image
|