<html lang="en"> | |
<script type="module"> | |
// Import the library | |
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected]'; | |
// 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> |