Spaces:
Running
Running
File size: 492 Bytes
01eb14c |
1 2 3 4 5 6 7 8 9 10 |
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) |