Spaces:
Running
Running
Create promise.html
Browse files- promise.html +20 -0
promise.html
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<script type="module">
|
4 |
+
// Import the library
|
5 |
+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected]';
|
6 |
+
|
7 |
+
// Make it available globally
|
8 |
+
window.pipeline = pipeline;
|
9 |
+
</script>
|
10 |
+
<head>
|
11 |
+
<meta charset="UTF-8">
|
12 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
13 |
+
<title>Transformers Demo</title>
|
14 |
+
</head>
|
15 |
+
<body>
|
16 |
+
<h1>Transformers Demo</h1>
|
17 |
+
|
18 |
+
<script src="deberta.js"></script>
|
19 |
+
</body>
|
20 |
+
</html>
|