Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -14,6 +14,7 @@ inputSubmitBtn.addEventListener('click', async (e) => {
|
|
14 |
e.preventDefault();
|
15 |
let classifier = await pipeline('token-classification');
|
16 |
let result = await classifier(inputText.value);
|
|
|
17 |
showOutput();
|
18 |
});
|
19 |
|
|
|
14 |
e.preventDefault();
|
15 |
let classifier = await pipeline('token-classification');
|
16 |
let result = await classifier(inputText.value);
|
17 |
+
console.log(result);
|
18 |
showOutput();
|
19 |
});
|
20 |
|