vuchl001 commited on
Commit
a1f1254
·
verified ·
1 Parent(s): 51fcf56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,13 +4,13 @@ from PIL import Image
4
  import numpy as np
5
 
6
  # Load your custom regression model
7
- model_path = "Ditto-premiumdelux-model_transferlearning.weights.h5"
8
- model_path = "Ditto-premiumdelux-model_transferlearning.keras"
9
 
10
  #model.load_weights(model_path)
11
  model = tf.keras.models.load_model(model_path)
12
 
13
- labels = ['Ditto','Golbat','Koffing']
14
 
15
  # Define regression function
16
  def predict_regression(image):
 
4
  import numpy as np
5
 
6
  # Load your custom regression model
7
+ model_path = "pokemon_model_transferlearning.weights.h5"
8
+ model_path = "pokemon_model_transferlearning.keras"
9
 
10
  #model.load_weights(model_path)
11
  model = tf.keras.models.load_model(model_path)
12
 
13
+ labels = ['Ditto','Venomoth','Venusaur']
14
 
15
  # Define regression function
16
  def predict_regression(image):