Spaces:
Running
Running
Yolov10x
Browse files
index.js
CHANGED
@@ -14,7 +14,7 @@ const THRESHOLD = 0.25;
|
|
14 |
|
15 |
// Create a new object detection pipeline
|
16 |
status.textContent = 'Loading model...';
|
17 |
-
const model_id = 'onnx-community/
|
18 |
const processor = await AutoProcessor.from_pretrained(model_id);
|
19 |
const model = await AutoModel.from_pretrained(model_id);
|
20 |
status.textContent = 'Ready';
|
|
|
14 |
|
15 |
// Create a new object detection pipeline
|
16 |
status.textContent = 'Loading model...';
|
17 |
+
const model_id = 'onnx-community/yolov10x';
|
18 |
const processor = await AutoProcessor.from_pretrained(model_id);
|
19 |
const model = await AutoModel.from_pretrained(model_id);
|
20 |
status.textContent = 'Ready';
|