darly9991 commited on
Commit
5b9f78b
·
verified ·
1 Parent(s): 7b547aa

Update prediction.py

Browse files
Files changed (1) hide show
  1. 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("my_model.keras")
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)