bajrangCoder commited on
Commit
de9fd09
·
verified ·
1 Parent(s): 77bcdc5

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -1
index.js CHANGED
@@ -9,7 +9,8 @@ const msg = document.getElementById('message');
9
 
10
  // Create a new object detection pipeline
11
  status.textContent = 'Loading model...';
12
- const classifier = await pipeline('text-classification', 'Xenova/detr-resnet-50');
 
13
  status.textContent = 'Ready';
14
 
15
  async function checkMessage(){
 
9
 
10
  // Create a new object detection pipeline
11
  status.textContent = 'Loading model...';
12
+ //const classifier = await pipeline('text-classification', 'bajrangCoder/roberta_spam_onnx_quantised');
13
+ const classifier = await pipeline('text-classification', 'bajrangCoder/roberta_spam_onnx');
14
  status.textContent = 'Ready';
15
 
16
  async function checkMessage(){