-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (73 loc) · 2.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css" />
<title>🦙🐪🐫</title>
</head>
<body>
<h2 id="header">🦙🐪🐫</h2>
<div id="preprompt_div">
Pre-prompt: <input type="text" id="preprompt" size="44" />
</div>
<div>
<label for="prompt">Prompt:</label><br />
<textarea name="prompt" id="prompt" rows="8" cols="57">Tell me about Camelidae</textarea>
</div>
<div id="postprompt_div">
Post-prompt: <input type="text" id="postprompt" size="43" />
</div>
<div id="response_cont">
<div id="response_lbl"><a id="prompt_id">Response</a>:</div>
<div id="response"></div>
<div id="response_metrics"></div>
</div>
<div id="model_sel_cont">
<a href="#" id="model_link" target="_blank">Model</a> <span id="model_used">to use</span>:
<br />
<select id="model_select">
</select>
<details id="model_desc_outer">
<summary>Model description</summary>
<div id="model_desc">
</div>
</details>
</div>
<details id="options_outer">
<summary>Options</summary>
<div id="options_cont">
<input type="checkbox" id="use_mirostat" />
<label for="use_mirostat">Use <a
href="https://github.com/ggerganov/llama.cpp/tree/master/examples/main#mirostat-sampling"
target="_blank">Mirostat 2</a> sampling</label>
<br />
<input type="checkbox" id="high_pri" />
<label for="high_pri">High priority</label>
</div>
</details>
<button id="submit_prompt">🦙🐪🐫</button>
<div id="clocks_outer">
<a href="" id="perma_ele">Your prompt</a> is <span id="queued_span">#<span id="queue_pos"></span> in the
queue.</span><span id="processing_span">being chewed on!</span>
<div id="clocks"></div>
</div>
<button id="reset">Ask another 🦙🐪🐫</button>
<details id="motd_cont_outer">
<summary>Server Note</summary>
<span id="motd_cont">
</span>
</details>
<br />
<hr />
<br />
<div id="powered_by">
Powered by <a href="https://github.com/edfletcher/llama.http/tree/master/examples/simple-http"
target="_blank">llama.http</a> &
<a href="https://github.com/edfletcher/camelidae" target="_blank">camelidae</a>.
</div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="index.js"></script>
<script data-goatcounter="https://alpaca.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</body>
</html>