File size: 259 Bytes
e51fbdb
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from bird_classifier import *
import gradio as gr

iface = gr.Interface(fn=classify_image, 
                     inputs=gr.Image(shape=(256,256)), 
                     outputs=gr.Label(),
                     examples=['bird.jpg'])

iface.launch(share=False)