File size: 711 Bytes
43c2f3b
 
 
 
 
 
 
 
3f36e3e
43c2f3b
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

sample_images=[['https://s3.amazonaws.com/moonup/production/uploads/1663933284359-611f9702593efbee33a4f7c9.png'],
['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]

title = 'Bean Leaf Classifier'
description = 'This model is trained for beans leaf classification but might give a false result on other leaves'
interface = gr.Interface(gr.Image(shape=(200, 200)), 'label',
                         title = title,
                         description = description,
                         examples=sample_images)

interface.launch(debug=True)