Xenova HF staff commited on
Commit
c3d503e
·
verified ·
1 Parent(s): 976fba6

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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) => {