skylord commited on
Commit
9dd9d3c
1 Parent(s): f285b13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -5,8 +5,7 @@ import os
5
 
6
  from ultralytics import YOLO
7
 
8
- model = YOLO('best_gd.pt')
9
- image_paths = ['pothole_example.jpg', 'pothole_screenshot.png']
10
 
11
  def show_preds_image(image):
12
  # Save the uploaded image temporarily
@@ -51,7 +50,7 @@ interface_image = gr.Interface(
51
  fn=show_preds_image,
52
  inputs=inputs_image,
53
  outputs=outputs_image,
54
- title="Pothole detector",
55
  examples=[],
56
  cache_examples=False,
57
  )
 
5
 
6
  from ultralytics import YOLO
7
 
8
+ model = YOLO('best.pt')
 
9
 
10
  def show_preds_image(image):
11
  # Save the uploaded image temporarily
 
50
  fn=show_preds_image,
51
  inputs=inputs_image,
52
  outputs=outputs_image,
53
+ title="European ReWilding Project - Demo[Yolov8]",
54
  examples=[],
55
  cache_examples=False,
56
  )