73 lines
2.1 KiB
HTML
73 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
|
<script>
|
|
var _paq = window._paq = window._paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function () {
|
|
var u = "https://mato.evulid.cc/";
|
|
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
|
_paq.push(['setSiteId', '10']);
|
|
var d = document,
|
|
g = d.createElement('script'),
|
|
s = d.getElementsByTagName('script')[0];
|
|
g.async = true;
|
|
g.src = u + 'matomo.js';
|
|
s.parentNode.insertBefore(g, s);
|
|
})();
|
|
</script>
|
|
<style>
|
|
.container {
|
|
padding: 1em 3em;
|
|
}
|
|
|
|
#json {
|
|
background-color: #ffb6c16e;
|
|
padding: 1em;
|
|
display: inline-block;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.container {
|
|
padding: 1em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h1 style="text-align: center;margin-top: 0;">{{ llm_middleware_name }}</h1>
|
|
|
|
<p><strong>Current Model:</strong> <span id="model">{{ current_model }}</span></p>
|
|
<p><strong>Client API URL:</strong> {{ client_api }}</p>
|
|
<p><strong>Estimated Wait Time:</strong> <span id="estimatedWait">{{ estimated_wait }}</span></p>
|
|
|
|
<br>
|
|
|
|
<div id="oobabooga">
|
|
<strong>Instructions:</strong>
|
|
<ol>
|
|
<li>Set your API type to <kbd>{{ mode_name }}</kbd></li>
|
|
<li>Enter <kbd>{{ client_api }}</kbd> in the <kbd>Blocking API url</kbd> textbox.</li>
|
|
<li>Click <kbd>Connect</kbd> to test the connection.</li>
|
|
<li>Open your preset config and set <kbd>Context Size</kbd> to {{ context_size }}.</li>
|
|
<li>Follow this guide to get set up: <a href="https://rentry.org/freellamas" target="_blank">rentry.org/freellamas</a></li>
|
|
</ol>
|
|
</div>
|
|
|
|
<br><br>
|
|
|
|
<pre id="json">{{ stats_json }}</pre>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|