Update index.js
Browse files
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 |
-
|
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(){
|