xformjsA / promise.html
boazchung's picture
Create promise.html
39b4d98 verified
raw
history blame
524 Bytes
<!DOCTYPE html>
<html lang="en">
<script type="module">
// Import the library
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.5.4';
// Make it available globally
window.pipeline = pipeline;
</script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transformers Demo</title>
</head>
<body>
<h1>Transformers Demo</h1>
<script src="deberta.js"></script>
</body>
</html>