nehulagrawal commited on
Commit
bd2f9b4
Β·
1 Parent(s): 85a9e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- "indicating whether they 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(shape=(824, 824), label="Input 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():