Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -20,7 +20,7 @@ const processor = await AutoProcessor.from_pretrained('Xenova/yolov9-c');
|
|
20 |
// For this demo, we resize the image to IMAGE_SIZE x IMAGE_SIZE
|
21 |
processor.feature_extractor.size = { width: IMAGE_SIZE, height: IMAGE_SIZE }
|
22 |
|
23 |
-
const model = await AutoModel.from_pretrained('Xenova/yolov9-c');
|
24 |
status.textContent = 'Ready';
|
25 |
|
26 |
example.addEventListener('click', (e) => {
|
|
|
20 |
// For this demo, we resize the image to IMAGE_SIZE x IMAGE_SIZE
|
21 |
processor.feature_extractor.size = { width: IMAGE_SIZE, height: IMAGE_SIZE }
|
22 |
|
23 |
+
const model = await AutoModel.from_pretrained('Xenova/yolov9-c', { quantized: false });
|
24 |
status.textContent = 'Ready';
|
25 |
|
26 |
example.addEventListener('click', (e) => {
|