Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
1 |
+
if __name__ == "__main__":
|
2 |
+
gr.Interface(
|
3 |
+
fn=analyze_plant,
|
4 |
+
inputs=gr.Image(type="pil", label="🖼️ Upload Leaf"),
|
5 |
+
outputs=gr.Markdown(),
|
6 |
+
title="🌿 Plant Disease Detector"
|
7 |
+
).launch()
|