Skip to content

Commit b48fff9

Browse files
committed
fix
1 parent 46fe633 commit b48fff9

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

components/Chat/Chat.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -453,23 +453,7 @@ export const Chat = memo(({stopConversationRef}: Props) => {
453453

454454
return (
455455
<div className="relative flex-1 overflow-hidden bg-white dark:bg-[#343541]">
456-
{!(apiKey || api) ? (
457-
<div className="mx-auto flex h-full w-[300px] flex-col justify-center space-y-6 sm:w-[600px]">
458-
<div className="text-center text-4xl font-bold text-black dark:text-white">
459-
Welcome to LlamaEdge Chat
460-
</div>
461-
<div className="text-center text-gray-500 dark:text-gray-400">
462-
<div className="mb-2">
463-
LlamaEdge Chat allows you to plug in your API key to use this UI with
464-
their API.
465-
</div>
466-
<div className="mb-2">
467-
It is <span className="italic">only</span> used to communicate
468-
with their API.
469-
</div>
470-
</div>
471-
</div>
472-
) : modelError ? (
456+
{modelError ? (
473457
<ErrorMessageDiv error={modelError}/>
474458
) : (
475459
<>

0 commit comments

Comments
 (0)