gungbgs commited on
Commit
7abc5aa
1 Parent(s): 79edba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ from transformers import pipeline
38
 
39
  def image_processing(input_image : gr.Image):
40
  image = Image.fromarray(input_image)
41
- classifier = pipeline(task="image-classification", model="chriamue/bird-species-classifier")
42
  species = get_max(classifier(image))['label']
43
  species_text = species.lower()
44
  result = summarize_wikipedia(species_text)
 
38
 
39
  def image_processing(input_image : gr.Image):
40
  image = Image.fromarray(input_image)
41
+ classifier = pipeline(task="image-classification", model="gungbgs/bird_species_classifier")
42
  species = get_max(classifier(image))['label']
43
  species_text = species.lower()
44
  result = summarize_wikipedia(species_text)