Update app.py
Browse files
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 |
-
|
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.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']
|