71 lines
1.9 KiB
HTML
71 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>{{ llm_middleware_name }}</title>
|
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
|
{{ analytics_tracking_code|safe }}
|
|
<style>
|
|
.container {
|
|
padding: 1em 3em;
|
|
}
|
|
|
|
#json {
|
|
background-color: #ffb6c16e;
|
|
padding: 1em;
|
|
display: inline-block;
|
|
}
|
|
|
|
a, a:visited {
|
|
color: blue;
|
|
}
|
|
|
|
.footer {
|
|
font-size: 7pt;
|
|
text-align: center;
|
|
}
|
|
|
|
@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|safe }}</pre>
|
|
</div>
|
|
<div class="footer">
|
|
<a href="https://git.evulid.cc/cyberes/local-llm-server" target="_blank">git.evulid.cc/cyberes/local-llm-server</a>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|