neetnestor commited on
Commit
9091160
·
1 Parent(s): 6ebfe81

style: update style

Browse files
Files changed (2) hide show
  1. index.html +11 -30
  2. style.css +9 -0
index.html CHANGED
@@ -9,47 +9,28 @@
9
 
10
  <body>
11
  <main>
12
- <div class="card">
13
- <p>
14
- This is a minimal demo app showcasing how WebLLM enables AI chat
15
- directly in your local browser. You might also enjoy exploring
16
- <b>WebLLM Chat</b>!
17
- </p>
18
  <a
19
  href="https://chat.webllm.ai/"
20
  rel="nofollow noopener noreferrer"
21
  target="_blank"
22
- >
23
- Try WebLLM Chat
24
- <svg
25
- xmlns="http://www.w3.org/2000/svg"
26
- width="16px"
27
- height="16px"
28
- viewBox="0 0 24 24"
29
- fill="none"
30
- >
31
- <g id="Interface / External_Link">
32
- <path
33
- id="Vector"
34
- d="M10.0002 5H8.2002C7.08009 5 6.51962 5 6.0918 5.21799C5.71547 5.40973 5.40973 5.71547 5.21799 6.0918C5 6.51962 5 7.08009 5 8.2002V15.8002C5 16.9203 5 17.4801 5.21799 17.9079C5.40973 18.2842 5.71547 18.5905 6.0918 18.7822C6.5192 19 7.07899 19 8.19691 19H15.8031C16.921 19 17.48 19 17.9074 18.7822C18.2837 18.5905 18.5905 18.2839 18.7822 17.9076C19 17.4802 19 16.921 19 15.8031V14M20 9V4M20 4H15M20 4L13 11"
35
- stroke="#000000"
36
- stroke-width="2"
37
- stroke-linecap="round"
38
- stroke-linejoin="round"
39
- />
40
- </g>
41
- </svg>
42
- </a>
43
- </div>
44
 
45
- <p>Step 1: Initialize WebLLM and Download Model</p>
46
  <div class="download-container">
47
  <select id="model-selection"></select>
48
  <button id="download">Download</button>
49
  </div>
50
  <p id="download-status" class="hidden"></p>
51
 
52
- <p>Step 2: Chat</p>
53
  <div class="chat-container">
54
  <div id="chat-box" class="chat-box"></div>
55
  <div id="chat-stats" class="chat-stats hidden"></div>
 
9
 
10
  <body>
11
  <main>
12
+ <h1>WebLLM Simple Chat Space</h1>
13
+ <p>
14
+ This is a minimal demo app showcasing how WebLLM enables AI chat
15
+ directly in your local browser. You might also enjoy exploring
16
+
 
17
  <a
18
  href="https://chat.webllm.ai/"
19
  rel="nofollow noopener noreferrer"
20
  target="_blank"
21
+ style="display: inline;"
22
+ >WebLLM Chat</a
23
+ >!
24
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
+ <h2>Step 1: Initialize WebLLM and Download Model</h2>
27
  <div class="download-container">
28
  <select id="model-selection"></select>
29
  <button id="download">Download</button>
30
  </div>
31
  <p id="download-status" class="hidden"></p>
32
 
33
+ <h2>Step 2: Chat</h2>
34
  <div class="chat-container">
35
  <div id="chat-box" class="chat-box"></div>
36
  <div id="chat-stats" class="chat-stats hidden"></div>
style.css CHANGED
@@ -5,6 +5,15 @@ html {
5
  margin: 0;
6
  }
7
 
 
 
 
 
 
 
 
 
 
8
  main {
9
  padding: 2rem;
10
  max-width: 48rem;
 
5
  margin: 0;
6
  }
7
 
8
+ h1 {
9
+ font-size: 1.6rem;
10
+ margin-bottom: .5rem;
11
+ }
12
+
13
+ h2 {
14
+ font-size: 1rem;
15
+ }
16
+
17
  main {
18
  padding: 2rem;
19
  max-width: 48rem;