DHEIVER commited on
Commit
7a80d19
1 Parent(s): 5dae610

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,6 +4,10 @@ import numpy as np
4
  from PIL import Image
5
  from io import BytesIO
6
 
 
 
 
 
7
  # Load your trained model
8
  model = tf.keras.models.load_model("best_model_weights.h5") # Replace with the path to your saved model
9
 
 
4
  from PIL import Image
5
  from io import BytesIO
6
 
7
+ # Define image dimensions
8
+ img_height = 224 # Replace with the actual height of your images
9
+ img_width = 224 # Replace with the actual width of your images
10
+
11
  # Load your trained model
12
  model = tf.keras.models.load_model("best_model_weights.h5") # Replace with the path to your saved model
13