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