Files
church-translate/app/selftest.html
T

24 lines
900 B
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Church Translate — self test</title>
<meta http-equiv="Content-Security-Policy" content="
default-src 'self'; script-src 'self' 'wasm-unsafe-eval' blob:; worker-src 'self' blob:;
connect-src 'self' https: data: blob:; img-src 'self' data:; style-src 'self' 'unsafe-inline';">
<style>
body { font: 14px -apple-system, system-ui, sans-serif; background:#0b0d12; color:#eef1f6; padding:2rem; }
pre { background:#151922; padding:1rem; border-radius:8px; white-space:pre-wrap; line-height:1.6; }
.ok { color:#2fbf71; } .bad { color:#e5484d; }
</style>
</head>
<body>
<h1>Self test</h1>
<p>Runs a known sentence through both model workers and prints what comes out.</p>
<pre id="out">starting…</pre>
<script src="./server/public/languages.js"></script>
<script type="module" src="./selftest.js"></script>
</body>
</html>