Skip to content

Commit e3b2d07

Browse files
committed
Cleaned up the options UI
1 parent 941ef3b commit e3b2d07

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

options.html

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,47 @@
44

55
<head>
66
<meta charset="utf-8">
7+
<style>
8+
label {
9+
font-weight: bold;
10+
}
11+
</style>
712
</head>
813

914
<body>
1015
<form>
1116
<label>Email</label>
12-
<input type="text" id="email">
17+
<br/>
18+
<input type="text" id="email" style="width: 100%">
1319
<p>This is the email address that summary emails will be sent to.</p>
1420
<br/>
1521
<label>Alias</label>
22+
<br/>
1623
<input type="text" id="alias">
1724
<p>This is an optional alias added to the email address to make it easier to filter summary emails.</p>
1825
<p>For example, if the email address is test@example.org, and the alias is summary, summary emails are sent to test+summary@example.org.</p>
1926
<br/>
20-
<label>Model</label>
27+
<label for="model">Model</label>
28+
<br/>
2129
<select id="model">
22-
<option value="llama3.1">llama3.2</option>
30+
<option value="llama3.1">llama3.1</option>
2331
<option value="llama3.2">llama3.2</option>
24-
<option value="llama3.3">llama3.2</option>
32+
<option value="llama3.3">llama3.3</option>
2533
<option value="phi4">phi4</option>
2634
</select>
2735
<p>This is the model used to summarize the email. These models must be
2836
pulled by Ollama with the command "ollama pull &lt;modelname&gt;".</p>
2937
<br/>
3038
<label>Context Window</label>
31-
<input type="text" id="contextwindow">
39+
<br/>
40+
<select id="contextwindow">
41+
<option value="2048">2048</option>
42+
<option value="4096">4096</option>
43+
<option value="8192">8192</option>
44+
<option value="16384">16384</option>
45+
<option value="32768">32768</option>
46+
<option value="131072">131072</option>
47+
</select>
3248
<p>This is the size of the context window. Larger sizes allow larger
3349
emails to be summarized, but consume more memory and take longer.</p>
3450
<br/>

0 commit comments

Comments
 (0)