HemaAM commited on
Commit
bc40ea8
·
1 Parent(s): b8d52e9

Corrected the file path of the example images

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -66,15 +66,15 @@ def inference(
66
  title = "Object detection application using YoloV3 Model"
67
  description = f"Object detection application using pre-trained YoloV3 model for Pascal VOC dataset. This app has GradCAM option also. \n Classes in Pascal voc dataset are : {', '.join(modelConfig.PASCAL_CLASSES)}"
68
  examples = [
69
- ["images_2/000811.jpg", 0.6, 0.6, True, 0.6],
70
- ["images_2/000830.jpg", 0.5, 0.5, True, 0.6],
71
- ["images_2/000842.jpg", 0.6, 0.6, True, 0.6],
72
- ["images_2/001114.jpg", 0.4, 0.5, True, 0.6],
73
- ["images_2/001133.jpg", 0.7, 0.7, True, 0.6],
74
- ["images_2/001155.jpg", 0.7, 0.69, True, 0.6],
75
- ["images_2/000008.jpg", 0.66, 0.69, True, 0.6],
76
- ["images_2/000031.jpg", 0.6, 0.6, True, 0.6],
77
- ["images_2/000175.jpg", 0.6, 0.6, True, 0.6],
78
  ]
79
 
80
  demo = gr.Interface(
 
66
  title = "Object detection application using YoloV3 Model"
67
  description = f"Object detection application using pre-trained YoloV3 model for Pascal VOC dataset. This app has GradCAM option also. \n Classes in Pascal voc dataset are : {', '.join(modelConfig.PASCAL_CLASSES)}"
68
  examples = [
69
+ ["images/000811.jpg", 0.6, 0.6, True, 0.6],
70
+ ["images/000830.jpg", 0.5, 0.5, True, 0.6],
71
+ ["images/000842.jpg", 0.6, 0.6, True, 0.6],
72
+ ["images/001114.jpg", 0.4, 0.5, True, 0.6],
73
+ ["images/001133.jpg", 0.7, 0.7, True, 0.6],
74
+ ["images/001155.jpg", 0.7, 0.69, True, 0.6],
75
+ ["images/000008.jpg", 0.66, 0.69, True, 0.6],
76
+ ["images/000031.jpg", 0.6, 0.6, True, 0.6],
77
+ ["images/000175.jpg", 0.6, 0.6, True, 0.6],
78
  ]
79
 
80
  demo = gr.Interface(