Mishig
commited on
Commit
•
3941b41
1
Parent(s):
a8ca669
update news (#753)
Browse files- .env +3 -3
- src/lib/components/chat/ChatIntroduction.svelte +1 -3
.env
CHANGED
@@ -99,9 +99,9 @@ PUBLIC_SHARE_PREFIX=#https://hf.co/chat
|
|
99 |
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
100 |
PUBLIC_ANNOUNCEMENT_BANNERS=`[
|
101 |
{
|
102 |
-
"title": "Code Llama 70B is
|
103 |
-
"linkTitle": "
|
104 |
-
"linkHref": "https://
|
105 |
}
|
106 |
]`
|
107 |
|
|
|
99 |
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
100 |
PUBLIC_ANNOUNCEMENT_BANNERS=`[
|
101 |
{
|
102 |
+
"title": "Code Llama 70B is available! 🦙",
|
103 |
+
"linkTitle": "try it",
|
104 |
+
"linkHref": "https://huggingface.co/chat?model=codellama/CodeLlama-70b-Instruct-hf"
|
105 |
}
|
106 |
]`
|
107 |
|
src/lib/components/chat/ChatIntroduction.svelte
CHANGED
@@ -5,7 +5,6 @@
|
|
5 |
import Logo from "$lib/components/icons/Logo.svelte";
|
6 |
import { createEventDispatcher } from "svelte";
|
7 |
import IconGear from "~icons/bi/gear-fill";
|
8 |
-
import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";
|
9 |
import AnnouncementBanner from "../AnnouncementBanner.svelte";
|
10 |
import type { Model } from "$lib/types/Model";
|
11 |
import ModelCardMetadata from "../ModelCardMetadata.svelte";
|
@@ -52,8 +51,7 @@
|
|
52 |
<a
|
53 |
target="_blank"
|
54 |
href={banner.linkHref}
|
55 |
-
class="mr-2 flex items-center underline hover:no-underline"
|
56 |
-
><CarbonArrowUpRight class="mr-1.5 text-xs" /> {banner.linkTitle}</a
|
57 |
>
|
58 |
</AnnouncementBanner>
|
59 |
{/each}
|
|
|
5 |
import Logo from "$lib/components/icons/Logo.svelte";
|
6 |
import { createEventDispatcher } from "svelte";
|
7 |
import IconGear from "~icons/bi/gear-fill";
|
|
|
8 |
import AnnouncementBanner from "../AnnouncementBanner.svelte";
|
9 |
import type { Model } from "$lib/types/Model";
|
10 |
import ModelCardMetadata from "../ModelCardMetadata.svelte";
|
|
|
51 |
<a
|
52 |
target="_blank"
|
53 |
href={banner.linkHref}
|
54 |
+
class="mr-2 flex items-center underline hover:no-underline">{banner.linkTitle}</a
|
|
|
55 |
>
|
56 |
</AnnouncementBanner>
|
57 |
{/each}
|