szili2011 commited on
Commit
c484425
1 Parent(s): e13a0a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import numpy as np
3
  import tensorflow as tf
4
 
5
  # Assuming your model is loaded here
6
- # model = tf.keras.models.load_model("pain_analysis.h5")
7
 
8
  def predict(image):
9
  image = np.array(image) / 255.0 # Normalize the image
 
3
  import tensorflow as tf
4
 
5
  # Assuming your model is loaded here
6
+ model = tf.keras.models.load_model("pain_analysis.h5")
7
 
8
  def predict(image):
9
  image = np.array(image) / 255.0 # Normalize the image