Spaces:
Runtime error
Runtime error
Commit
Β·
bd2f9b4
1
Parent(s):
85a9e35
Update app.py
Browse files
app.py
CHANGED
@@ -16,15 +16,15 @@ def get_predictions(img, threshold, box_color, text_color):
|
|
16 |
yolov8_detector = ObjectDetection('Yolov8')
|
17 |
|
18 |
with gr.Blocks(title="Plant Leaf Detection and Classification", theme=gr.themes.Soft()) as interface:
|
19 |
-
gr.Markdown("# Plant Leaf Detection and Classification")
|
20 |
gr.Markdown("This app uses YOLOv8s, a powerful object detection model, to detect and classify plant leaves. "
|
21 |
"The model can detect various plant leaves and classify them into up to 45 different plant categories, "
|
22 |
-
"
|
23 |
-
gr.Markdown("If you like this app, don't forget to give it a thumbs up on Hugging Face
|
24 |
|
25 |
with gr.Row():
|
26 |
with gr.Column():
|
27 |
-
image = gr.Image(
|
28 |
with gr.Column():
|
29 |
with gr.Row():
|
30 |
with gr.Column():
|
|
|
16 |
yolov8_detector = ObjectDetection('Yolov8')
|
17 |
|
18 |
with gr.Blocks(title="Plant Leaf Detection and Classification", theme=gr.themes.Soft()) as interface:
|
19 |
+
gr.Markdown("# Plant Leaf Detection and Classificationπ")
|
20 |
gr.Markdown("This app uses YOLOv8s, a powerful object detection model, to detect and classify plant leaves. "
|
21 |
"The model can detect various plant leaves and classify them into up to 45 different plant categories, "
|
22 |
+
"whether the leafs are diseased or healthy.")
|
23 |
+
gr.Markdown("If you like this app, don't forget to give it a thumbs up on Hugging Face!πβ€οΈ")
|
24 |
|
25 |
with gr.Row():
|
26 |
with gr.Column():
|
27 |
+
image = gr.Image(label="Input Image")
|
28 |
with gr.Column():
|
29 |
with gr.Row():
|
30 |
with gr.Column():
|