Skip to content

Commit

Permalink
Merge pull request #10 from Saifkhan-rkp/saif
Browse files Browse the repository at this point in the history
Saif
  • Loading branch information
Saifkhan-rkp authored Mar 10, 2024
2 parents 4b59707 + f30e514 commit 4e4cce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FRONTEND.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main():
uploaded_image.save(temp_path)

# Load the pre-trained model
model = load_model("model_casia_run1.h5")
model = load_model(r"./model_casia_run1.h5")

# Prepare and predict on the image
image = prepare_image(temp_path)
Expand Down
2 changes: 1 addition & 1 deletion confidence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cv2
# import cv2
import numpy as np
from PIL import ImageChops, ImageEnhance, Image
from tensorflow.keras.models import load_model
Expand Down

0 comments on commit 4e4cce2

Please sign in to comment.