Spaces:
Build error
Build error
Update prediction.py
Browse files- prediction.py +1 -1
prediction.py
CHANGED
|
@@ -28,7 +28,7 @@ def run():
|
|
| 28 |
st.image(image, caption="Gambar yang diunggah", use_column_width=True)
|
| 29 |
|
| 30 |
# Load the model (once the image is uploaded)
|
| 31 |
-
model = load_model("
|
| 32 |
|
| 33 |
# Preprocess and predict
|
| 34 |
img_array = preprocess_image(image)
|
|
|
|
| 28 |
st.image(image, caption="Gambar yang diunggah", use_column_width=True)
|
| 29 |
|
| 30 |
# Load the model (once the image is uploaded)
|
| 31 |
+
model = load_model("cnn_model.keras")
|
| 32 |
|
| 33 |
# Preprocess and predict
|
| 34 |
img_array = preprocess_image(image)
|