Upload 10 files
Browse files- Battus philenor.jpg +0 -0
- Papilio cresphontes.jpg +0 -0
- Papilio glaucus.jpg +0 -0
- Papilio multicaudata.jpg +0 -0
- Papilio palamedes.jpg +0 -0
- Papilio thoas.jpg +0 -0
- Parides photinus.jpg +0 -0
- Parnassius smintheus.jpg +0 -0
- Protographium marcellus.jpg +0 -0
- app.py +17 -0
Battus philenor.jpg
ADDED
Papilio cresphontes.jpg
ADDED
Papilio glaucus.jpg
ADDED
Papilio multicaudata.jpg
ADDED
Papilio palamedes.jpg
ADDED
Papilio thoas.jpg
ADDED
Parides photinus.jpg
ADDED
Parnassius smintheus.jpg
ADDED
Protographium marcellus.jpg
ADDED
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
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=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']
|
9 |
+
|
10 |
+
title="FlutterBy ST"
|
11 |
+
description="Detects the most common North American swallowtail and cattleheart butterflies. Provide an image or select from one below. Best results will come from a full frame posed shot. Trained on 8577 images over 51 species using ResNet50."
|
12 |
+
|
13 |
+
intf = gr.load(src='models',name='flobbit/flutterby/',
|
14 |
+
examples=examples,
|
15 |
+
title=title, description=description
|
16 |
+
)
|
17 |
+
intf.launch()
|