TroglodyteDerivations commited on
Commit
15589c9
1 Parent(s): ea02631

Updated lines 22 and 44 with: Jolteon, Kakuna, and Mr. Mime

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ model = tf.keras.models.load_model('pokemon_model.keras')
19
  # Los nombres de las clases deben coincidir con su conjunto de datos.
20
  # Klassennamen, sollten deinem Dataset entsprechen
21
  # 类名应该与你的数据集匹配
22
- class_names = ['Gyarados', 'Primape', 'Wynaut']
23
 
24
 
25
  def classify_image(image):
@@ -41,6 +41,6 @@ iface = gr.Interface(
41
  inputs=image_input,
42
  outputs=label,
43
  title='Pokémon Classifier',
44
- description='Upload an image of Gyarados, Primape, or Wynaut and the classifier will tell you which one it is and the confidence level of the prediction.').launch()
45
 
46
  #iface.launch()
 
19
  # Los nombres de las clases deben coincidir con su conjunto de datos.
20
  # Klassennamen, sollten deinem Dataset entsprechen
21
  # 类名应该与你的数据集匹配
22
+ class_names = ['Jolteon', 'Kakuna', 'Mr. Mime']
23
 
24
 
25
  def classify_image(image):
 
41
  inputs=image_input,
42
  outputs=label,
43
  title='Pokémon Classifier',
44
+ description='Upload an image of Jolteon, Kakuna, or Mr. Mime and the classifier will tell you which one it is and the confidence level of the prediction.').launch()
45
 
46
  #iface.launch()