ollama placeholder added

This commit is contained in:
Timothy J. Baek 2023-10-08 15:58:33 -07:00
parent 9a220ede61
commit 9e30abc16a
2 changed files with 12 additions and 1 deletions

View file

@ -147,7 +147,18 @@
<div class=" h-full mb-32 w-full flex flex-col"> <div class=" h-full mb-32 w-full flex flex-col">
{#if Object.keys(chatHistory).length == 0} {#if Object.keys(chatHistory).length == 0}
<div class="m-auto text-4xl text-gray-600 font-bold text-center">Ollama</div> <div class="m-auto text-center max-w-md">
<div class="flex justify-center">
<img src="/ollama.png" class="w-16 invert-[80%]" />
</div>
<div class="mt-6 text-3xl text-gray-500 font-semibold">
Get up and running with large language models, locally.
</div>
<div class=" mt-4 text-gray-600">
Run Llama 2, Code Llama, and other models. <br /> Customize and create your own.
</div>
</div>
{:else} {:else}
{#each Object.keys(chatHistory) as messageIdx} {#each Object.keys(chatHistory) as messageIdx}
<div class=" w-full {chatHistory[messageIdx].role == 'user' ? '' : ' bg-gray-700'}"> <div class=" w-full {chatHistory[messageIdx].role == 'user' ? '' : ' bg-gray-700'}">

BIN
static/ollama.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB