szili2011 commited on
Commit
22f3719
1 Parent(s): dd48924

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import tensorflow as tf
4
  from tensorflow.keras.models import load_model
5
 
6
  # Load your trained pain classification model
7
- model = load_model("path/to/your/pain_analysis.h5") # Adjust the path as necessary
8
 
9
  def predict(image):
10
  # Resize the image to the expected input size of (148, 148)
 
4
  from tensorflow.keras.models import load_model
5
 
6
  # Load your trained pain classification model
7
+ model = load_model("pain_analysis.h5") # Adjust the path as necessary
8
 
9
  def predict(image):
10
  # Resize the image to the expected input size of (148, 148)