Update deberta.js
Browse files- deberta.js +0 -5
deberta.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
| 1 |
|
| 2 |
-
// Import the library
|
| 3 |
-
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.5.4';
|
| 4 |
-
// Make it available globally
|
| 5 |
-
window.pipeline = pipeline;
|
| 6 |
-
|
| 7 |
async function makepipe() {
|
| 8 |
return await pipeline('sentiment-analysis');
|
| 9 |
}
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
async function makepipe() {
|
| 3 |
return await pipeline('sentiment-analysis');
|
| 4 |
}
|