Spaces:
Runtime error
Runtime error
Commit
·
43c2f3b
1
Parent(s):
a616305
initial commit
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
sample_images=[['https://s3.amazonaws.com/moonup/production/uploads/1663933284359-611f9702593efbee33a4f7c9.png'],
|
4 |
+
['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
|
5 |
+
['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]
|
6 |
+
|
7 |
+
title = 'Bean Leaf Classifier'
|
8 |
+
description = 'This model is trained for beans leaf classification but might give a false result on other leaves'
|
9 |
+
interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
|
10 |
+
title = title,
|
11 |
+
description = description,
|
12 |
+
examples=sample_images)
|
13 |
+
|
14 |
+
interface.launch(debug=True)
|