Update index.js
Browse files
index.js
CHANGED
@@ -9,7 +9,7 @@ const msg = document.getElementById('message');
|
|
9 |
const checkMessage = document.getElementById('checkMessage');
|
10 |
// Create a new pipeline
|
11 |
status.textContent = 'Loading model...';
|
12 |
-
const pipe = await pipeline('text-classification', 'bajrangCoder/
|
13 |
status.textContent = 'Ready';
|
14 |
|
15 |
checkMessage.onclick = async () => {
|
|
|
9 |
const checkMessage = document.getElementById('checkMessage');
|
10 |
// Create a new pipeline
|
11 |
status.textContent = 'Loading model...';
|
12 |
+
const pipe = await pipeline('text-classification', 'bajrangCoder/roberta_spam_onnx_quantised');
|
13 |
status.textContent = 'Ready';
|
14 |
|
15 |
checkMessage.onclick = async () => {
|