ImanAmran commited on
Commit
3bca9a7
·
1 Parent(s): 4f068d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ user_embeddings = {}
15
 
16
  # Preprocess the image
17
  def preprocess_image(image):
18
- image = cv2.resize(image, (200, 200)) # Resize image to 200x200
19
  image = tf.keras.applications.resnet50.preprocess_input(image)
20
  return np.expand_dims(image, axis=0)
21
 
 
15
 
16
  # Preprocess the image
17
  def preprocess_image(image):
18
+ image = cv2.resize(image, (375, 375)) # Resize image
19
  image = tf.keras.applications.resnet50.preprocess_input(image)
20
  return np.expand_dims(image, axis=0)
21