Spaces:
Running
Running
Commit ·
01eb290
1
Parent(s): 5c3c53a
Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -173,7 +173,7 @@
|
|
| 173 |
|
| 174 |
<div id="loading-overlay">
|
| 175 |
<div class="window" style="width: 300px">
|
| 176 |
-
<div class="title-bar"><div class="title-bar-text">Connecting to
|
| 177 |
<div class="window-body">
|
| 178 |
<p id="status-text">Uploading SmartChild's brain...</p>
|
| 179 |
<progress id="load-progress" value="0" max="100"></progress>
|
|
@@ -183,7 +183,7 @@
|
|
| 183 |
|
| 184 |
<div class="window" id="main-window">
|
| 185 |
<div class="title-bar">
|
| 186 |
-
<div class="title-bar-text">
|
| 187 |
<div class="title-bar-controls" style="display: flex; align-items: center;">
|
| 188 |
<button id="export-btn" title="Export Chat">💾</button>
|
| 189 |
<button aria-label="Minimize" id="minimize-btn"></button>
|
|
@@ -217,7 +217,7 @@
|
|
| 217 |
// 1. Define your Space's direct address
|
| 218 |
const SPACE_URL = "https://macwhisperer-smartchild.static.hf.space";
|
| 219 |
// 2. Use absolute URLs for everything
|
| 220 |
-
const MODEL_URL = `${SPACE_URL}/
|
| 221 |
const CONFIG = {
|
| 222 |
"single-thread/wllama.wasm": `${SPACE_URL}/wasm/single-thread/wllama.wasm`,
|
| 223 |
"multi-thread/wllama.wasm": `${SPACE_URL}/wasm/multi-thread/wllama.wasm`,
|
|
|
|
| 173 |
|
| 174 |
<div id="loading-overlay">
|
| 175 |
<div class="window" style="width: 300px">
|
| 176 |
+
<div class="title-bar"><div class="title-bar-text">Connecting to the server...</div></div>
|
| 177 |
<div class="window-body">
|
| 178 |
<p id="status-text">Uploading SmartChild's brain...</p>
|
| 179 |
<progress id="load-progress" value="0" max="100"></progress>
|
|
|
|
| 183 |
|
| 184 |
<div class="window" id="main-window">
|
| 185 |
<div class="title-bar">
|
| 186 |
+
<div class="title-bar-text">Instant Messenger</div>
|
| 187 |
<div class="title-bar-controls" style="display: flex; align-items: center;">
|
| 188 |
<button id="export-btn" title="Export Chat">💾</button>
|
| 189 |
<button aria-label="Minimize" id="minimize-btn"></button>
|
|
|
|
| 217 |
// 1. Define your Space's direct address
|
| 218 |
const SPACE_URL = "https://macwhisperer-smartchild.static.hf.space";
|
| 219 |
// 2. Use absolute URLs for everything
|
| 220 |
+
const MODEL_URL = `${SPACE_URL}/tinyllama-1.1b-Q4_K_M.gguf`;
|
| 221 |
const CONFIG = {
|
| 222 |
"single-thread/wllama.wasm": `${SPACE_URL}/wasm/single-thread/wllama.wasm`,
|
| 223 |
"multi-thread/wllama.wasm": `${SPACE_URL}/wasm/multi-thread/wllama.wasm`,
|