bajrangCoder commited on
Commit
9c7870d
·
verified ·
1 Parent(s): de9fd09

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -9,8 +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', '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(){
 
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(){