nehulagrawal commited on
Commit
892f312
·
1 Parent(s): 7b2b90d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ def get_predictions(img, threshold, box_color, text_color):
12
  v8_frame = yolov8_detector.plot_bboxes(v8_results, img, float(threshold), box_color, text_color)
13
  return v8_frame
14
 
15
- with gr.Blocks(title="Leaf Disease Detection", theme=gr.themes.Monochrome()) as interface:
16
- gr.Markdown("# Leaf Disease Detection")
17
  with gr.Row():
18
  with gr.Column():
19
  image = gr.Image(shape=(416,416), label="Input Image")
 
12
  v8_frame = yolov8_detector.plot_bboxes(v8_results, img, float(threshold), box_color, text_color)
13
  return v8_frame
14
 
15
+ with gr.Blocks(title="Leaf Detection and Classification", theme=gr.themes.Monochrome()) as interface:
16
+ gr.Markdown("# Leaf Detection and Classification")
17
  with gr.Row():
18
  with gr.Column():
19
  image = gr.Image(shape=(416,416), label="Input Image")