flobbit commited on
Commit
9a0ae48
1 Parent(s): 52b0646

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from fastai.vision.all import *
2
  import gradio as gr
3
 
4
  #image = gr.inputs.Image(shape=(192, 192))
5
- label = gr.outputs.Label(num_top_classes=3)
6
  examples = ['Papilio glaucus.jpg','Papilio palamedes.jpg','Protographium marcellus.jpg','Papilio multicaudata.jpg',
7
  'Parides photinus.jpg','Battus philenor.jpg',
8
  'Papilio cresphontes.jpg','Parnassius smintheus.jpg','Papilio thoas.jpg']
 
2
  import gradio as gr
3
 
4
  #image = gr.inputs.Image(shape=(192, 192))
5
+ label = gr.components.Label(num_top_classes=3)
6
  examples = ['Papilio glaucus.jpg','Papilio palamedes.jpg','Protographium marcellus.jpg','Papilio multicaudata.jpg',
7
  'Parides photinus.jpg','Battus philenor.jpg',
8
  'Papilio cresphontes.jpg','Parnassius smintheus.jpg','Papilio thoas.jpg']