Spaces:
Runtime error
Runtime error
Silke pilon
commited on
Commit
·
02a811f
1
Parent(s):
d94ee6b
Update src/lib/components/chat/ChatMessage.svelte
Browse files
src/lib/components/chat/ChatMessage.svelte
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
import IconLoading from "../icons/IconLoading.svelte";
|
9 |
import CarbonRotate360 from "~icons/carbon/rotate-360";
|
10 |
import { PUBLIC_SEP_TOKEN } from "$env/static/public";
|
|
|
11 |
|
12 |
function sanitizeMd(md: string) {
|
13 |
return md
|
@@ -70,11 +71,8 @@
|
|
70 |
|
71 |
{#if message.from === "assistant"}
|
72 |
<div class="flex items-start justify-start gap-4 leading-relaxed">
|
73 |
-
|
74 |
-
|
75 |
-
src="https://huggingface.co/avatars/2edb18bd0206c16b433841a47f53fa8e.svg"
|
76 |
-
class="mt-5 h-3 w-3 flex-none select-none rounded-full shadow-lg"
|
77 |
-
/>
|
78 |
<div
|
79 |
class="relative min-h-[calc(2rem+theme(spacing[3.5])*2)] min-w-[100px] rounded-2xl border border-gray-100 bg-gradient-to-br from-gray-50 px-5 py-3.5 text-gray-600 prose-pre:my-2 dark:border-gray-800 dark:from-gray-800/40 dark:text-gray-300"
|
80 |
>
|
|
|
8 |
import IconLoading from "../icons/IconLoading.svelte";
|
9 |
import CarbonRotate360 from "~icons/carbon/rotate-360";
|
10 |
import { PUBLIC_SEP_TOKEN } from "$env/static/public";
|
11 |
+
import Logo from "$lib/components/icons/Logo.svelte";
|
12 |
|
13 |
function sanitizeMd(md: string) {
|
14 |
return md
|
|
|
71 |
|
72 |
{#if message.from === "assistant"}
|
73 |
<div class="flex items-start justify-start gap-4 leading-relaxed">
|
74 |
+
|
75 |
+
<Logo classNames="mt-5 h-7 w-7 flex-none select-none rounded-full shadow-lg" />
|
|
|
|
|
|
|
76 |
<div
|
77 |
class="relative min-h-[calc(2rem+theme(spacing[3.5])*2)] min-w-[100px] rounded-2xl border border-gray-100 bg-gradient-to-br from-gray-50 px-5 py-3.5 text-gray-600 prose-pre:my-2 dark:border-gray-800 dark:from-gray-800/40 dark:text-gray-300"
|
78 |
>
|