srinuksv commited on
Commit
02c7c55
·
verified ·
1 Parent(s): 3d92631

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,10 +2,10 @@
2
  from gradio import Interface, Image, Label
3
  import tensorflow as tf
4
  # Load your TensorFlow model
5
- model = tf.keras.models.load_model("bird_species_classification_model.h5")
6
 
7
  # Define your class names if needed
8
- class_names = ['ABBOTTS BABBLER', 'ABBOTTS BOOBY', 'ABYSSINIAN GROUND HORNBILL', 'AFRICAN CROWNED CRANE', 'AFRICAN EMERALD CUCKOO', 'AFRICAN FIREFINCH', 'AFRICAN OYSTER CATCHER', 'AFRICAN PIED HORNBILL', 'AFRICAN PYGMY GOOSE', 'ALBATROSS', 'ALBERTS TOWHEE', 'ALEXANDRINE PARAKEET', 'ALPINE CHOUGH', 'ALTAMIRA YELLOWTHROAT', 'AMERICAN AVOCET', 'AMERICAN BITTERN', 'AMERICAN COOT', 'AMERICAN FLAMINGO', 'AMERICAN GOLDFINCH', 'AMERICAN KESTREL']
9
 
10
 
11
  # Function to make predictions
 
2
  from gradio import Interface, Image, Label
3
  import tensorflow as tf
4
  # Load your TensorFlow model
5
+ model = tf.keras.models.load_model("a.h5")
6
 
7
  # Define your class names if needed
8
+ class_names = ['Asian-Green-Bee-Eater', 'Brown-Headed-Barbet', 'Cattle-Egret', 'Common-Kingfisher', 'Common-Myna', 'House-Crow', 'Indian-Grey-Hornbill', 'Indian-Peacock', 'Indian-Roller', 'White-Breasted-Kingfisher']
9
 
10
 
11
  # Function to make predictions