Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -17,7 +17,7 @@ status.textContent = 'Loading model...';
|
|
17 |
// DETR 모델 참고 문서 https://huggingface.co/facebook/detr-resnet-50
|
18 |
|
19 |
//const detector = await pipeline("object-detection","facebook/detr-resnet-50");
|
20 |
-
const detector = await pipeline('object-detection');
|
21 |
status.textContent = 'Ready';
|
22 |
|
23 |
example.addEventListener('click', (e) => {
|
|
|
17 |
// DETR 모델 참고 문서 https://huggingface.co/facebook/detr-resnet-50
|
18 |
|
19 |
//const detector = await pipeline("object-detection","facebook/detr-resnet-50");
|
20 |
+
const detector = await pipeline('object-detection','facebook/detr-resnet-50');
|
21 |
status.textContent = 'Ready';
|
22 |
|
23 |
example.addEventListener('click', (e) => {
|