File size: 227 Bytes
9f9cd44
 
 
 
 
 
 
1
2
3
4
5
6
7
8
if __name__ == "__main__":
    gr.Interface(
        fn=analyze_plant,
        inputs=gr.Image(type="pil", label="🖼️ Upload Leaf"),
        outputs=gr.Markdown(),
        title="🌿 Plant Disease Detector"
    ).launch()