Spaces:
Sleeping
Sleeping
import gradio as gr | |
from transformers import pipeline | |
pipe = pipeline(task = 'image-classification') | |
gr.Interface.from_pipeline(pipe, | |
title = "Maize Leaf Disease Detection", | |
description = "Corn Leaf disease classification", | |
examples = ['Corn_Blight(1).jpeg', 'Corn_Common_Rust(1).jpg', 'Corn_Gray_Spot(1).jpg', 'Corn_Health(1).jpg'], | |
allow_flagging = "never").launch(inbrowser=True) |