Skip to content

Commit b3d0d0b

Browse files
author
salim laimeche
committed
Fix import order and remove unused code
1 parent d69e6f5 commit b3d0d0b

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

models/model-list.ts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,3 @@
11
export enum ModelComputerVision {
22
COCO_SSD = "Coco SSD",
3-
DETECTION = "Detection",
4-
SEGMENTATION = "Segmentation",
53
}
6-
7-
export type ModelList = {
8-
title: ModelComputerVision
9-
url: string
10-
description: string
11-
labels?: string
12-
}
13-
14-
export const modelList: ModelList[] = [
15-
{
16-
title: ModelComputerVision.COCO_SSD,
17-
url: "https://tfhub.dev/tensorflow/tfjs-model/ssd_mobilenet_v2/1/default/1",
18-
description:
19-
"Object detection model that aims to localize and identify multiple objects in a single image.",
20-
labels: "basic",
21-
},
22-
{
23-
title: ModelComputerVision.DETECTION,
24-
url: "https://huggingface.co/salim4n/yolov8n_web_model/resolve/main/model.json",
25-
description:
26-
"Object detection model that aims to localize and identify multiple objects in a single image.",
27-
labels: "basic",
28-
},
29-
{
30-
title: ModelComputerVision.SEGMENTATION,
31-
url: "https://huggingface.co/salim4n/yolov8n-segment-web/resolve/main/model.json",
32-
description:
33-
"Semantic segmentation model that assigns a label to each pixel in the image.",
34-
labels: "basic",
35-
},
36-
]

0 commit comments

Comments
 (0)