edtech07 commited on
Commit
3268dcf
·
verified ·
1 Parent(s): 66aa7e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import numpy as np
4
  from PIL import Image
5
 
6
  # Load the trained model
7
- model = tf.keras.models.load_model('my_model (3).keras')
8
 
9
  # Get class names from the training data generator (assuming 'train' is still in scope from previous execution)
10
  # If 'train' is not in scope, you would need to define class_indices manually or reload data generators.
 
4
  from PIL import Image
5
 
6
  # Load the trained model
7
+ model = tf.keras.models.load_model('brain_tumor_classifier.keras')
8
 
9
  # Get class names from the training data generator (assuming 'train' is still in scope from previous execution)
10
  # If 'train' is not in scope, you would need to define class_indices manually or reload data generators.