Spaces:
Runtime error
Runtime error
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) |