Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,8 +32,10 @@ sample_images=[['https://s3.amazonaws.com/moonup/production/uploads/166393328435
|
|
| 32 |
['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
|
| 33 |
['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]
|
| 34 |
|
|
|
|
|
|
|
| 35 |
interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
|
| 36 |
-
examples=sample_images)
|
| 37 |
|
| 38 |
#demo.launch()
|
| 39 |
interface.launch(debug=False)
|
|
|
|
| 32 |
['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
|
| 33 |
['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]
|
| 34 |
|
| 35 |
+
title = "Bean leaf disease classifier"
|
| 36 |
+
description = "Upload an image of a bean leaf to find out if it is diseased"
|
| 37 |
interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
|
| 38 |
+
examples=sample_images, title=title, description=description)
|
| 39 |
|
| 40 |
#demo.launch()
|
| 41 |
interface.launch(debug=False)
|