Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
machineuser
commited on
Commit
·
bc51005
1
Parent(s):
0f085f2
Sync widgets demo
Browse files
packages/widgets/package.json
CHANGED
@@ -38,6 +38,8 @@
|
|
38 |
"svelte": "^3.59.2"
|
39 |
},
|
40 |
"devDependencies": {
|
|
|
|
|
41 |
"@sveltejs/adapter-node": "^1.3.1",
|
42 |
"@sveltejs/kit": "^1.27.4",
|
43 |
"@sveltejs/package": "^2.0.0",
|
|
|
38 |
"svelte": "^3.59.2"
|
39 |
},
|
40 |
"devDependencies": {
|
41 |
+
"@fontsource/ibm-plex-mono": "^5.0.8",
|
42 |
+
"@fontsource/source-sans-pro": "^5.0.8",
|
43 |
"@sveltejs/adapter-node": "^1.3.1",
|
44 |
"@sveltejs/kit": "^1.27.4",
|
45 |
"@sveltejs/package": "^2.0.0",
|
packages/widgets/pnpm-lock.yaml
CHANGED
@@ -10,6 +10,12 @@ dependencies:
|
|
10 |
version: link:../tasks
|
11 |
|
12 |
devDependencies:
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
'@sveltejs/adapter-node':
|
14 |
specifier: ^1.3.1
|
15 |
version: 1.3.1(@sveltejs/[email protected])
|
@@ -285,6 +291,14 @@ packages:
|
|
285 |
engines: {node: '>=14'}
|
286 |
dev: true
|
287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
/@humanwhocodes/[email protected]:
|
289 |
resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==}
|
290 |
engines: {node: '>=10.10.0'}
|
|
|
10 |
version: link:../tasks
|
11 |
|
12 |
devDependencies:
|
13 |
+
'@fontsource/ibm-plex-mono':
|
14 |
+
specifier: ^5.0.8
|
15 |
+
version: 5.0.8
|
16 |
+
'@fontsource/source-sans-pro':
|
17 |
+
specifier: ^5.0.8
|
18 |
+
version: 5.0.8
|
19 |
'@sveltejs/adapter-node':
|
20 |
specifier: ^1.3.1
|
21 |
version: 1.3.1(@sveltejs/[email protected])
|
|
|
291 |
engines: {node: '>=14'}
|
292 |
dev: true
|
293 |
|
294 |
+
/@fontsource/[email protected]:
|
295 |
+
resolution: {integrity: sha512-AoR7K2YtlGKy3LApyLYjqjyz0o8XtkRvbB/juMsGSGNayBBAly140ykZls+VxcXjZSLQpp2RyxKo6lYOuHPmUw==}
|
296 |
+
dev: true
|
297 |
+
|
298 |
+
/@fontsource/[email protected]:
|
299 |
+
resolution: {integrity: sha512-5U2UvIYRkCMozZ388gCE73PEpa2MFgN/0t9O4a1FF7bGT/MIneQWSL1XpWZ8iMVYdh6ntxRf3iFA6slCIuFgkg==}
|
300 |
+
dev: true
|
301 |
+
|
302 |
/@humanwhocodes/[email protected]:
|
303 |
resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==}
|
304 |
engines: {node: '>=10.10.0'}
|
packages/widgets/src/routes/+layout.svelte
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
<script lang="ts">
|
2 |
import "../tailwind.css";
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
</script>
|
4 |
|
5 |
<div class="min-h-screen bg-gray-50 text-black dark:bg-gray-950">
|
|
|
1 |
<script lang="ts">
|
2 |
import "../tailwind.css";
|
3 |
+
import "@fontsource/ibm-plex-mono/400.css";
|
4 |
+
import "@fontsource/ibm-plex-mono/600.css";
|
5 |
+
import "@fontsource/source-sans-pro/400.css";
|
6 |
+
import "@fontsource/source-sans-pro/600.css";
|
7 |
+
import "@fontsource/source-sans-pro/400-italic.css";
|
8 |
+
import "@fontsource/source-sans-pro/600-italic.css";
|
9 |
</script>
|
10 |
|
11 |
<div class="min-h-screen bg-gray-50 text-black dark:bg-gray-950">
|
packages/widgets/src/routes/+page.svelte
CHANGED
@@ -527,7 +527,7 @@
|
|
527 |
<ModeSwitcher />
|
528 |
|
529 |
<label>
|
530 |
-
First, Enter HF token
|
531 |
<input class="form-input" type="text" bind:value={apiToken} placeholder="hf_..." on:change={storeHFToken} />
|
532 |
</label>
|
533 |
|
|
|
527 |
<ModeSwitcher />
|
528 |
|
529 |
<label>
|
530 |
+
<div class="text-xl font-semibold">First, Enter HF token</div>
|
531 |
<input class="form-input" type="text" bind:value={apiToken} placeholder="hf_..." on:change={storeHFToken} />
|
532 |
</label>
|
533 |
|