my-homelab-configs/apps/demos-static/public/sentiment-sandbox/index.html

21 lines
938 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Local Sentiment Sandbox</title>
<link rel="stylesheet" href="../shared.css">
</head>
<body>
<main class="shell">
<nav class="topline"><a href="../">All demos</a><a href="/demos.php">Website catalog</a></nav>
<section class="hero"><p class="kicker">Demo 07</p><h1>Local Sentiment and Text Analytics</h1><p>Prototype local sentiment, keywords, and summary. Production path: Transformers.js with a small ONNX model.</p></section>
<section class="panel">
<textarea id="sentiment-input">The deployment was fast and smooth, but the storage issue was terrible until Docker moved to the external SSD.</textarea>
<div class="actions"><button id="analyze-text" type="button">Analyze text</button></div>
<div id="sentiment-output" class="output"></div>
</section>
</main>
<script src="sentiment-sandbox.js"></script>
</body>
</html>