From f48529ca25a719325602a7270e17a64324e04dc4 Mon Sep 17 00:00:00 2001 From: Adam Fields Date: Thu, 15 Feb 2024 21:48:25 -0500 Subject: [PATCH] Deps (#4) * Consistent button padding * Update readme * Deps * 0.1.1 --- bun.lockb | Bin 88338 -> 88962 bytes package.json | 8 ++++---- readme.md | 19 ++++++++++++++++++- src/components/App.tsx | 4 ++-- src/components/Button.tsx | 3 +-- src/components/Header.tsx | 2 +- src/components/ModelSelect.tsx | 2 +- src/components/PromptInput.tsx | 2 +- 8 files changed, 28 insertions(+), 12 deletions(-) diff --git a/bun.lockb b/bun.lockb index af6da65b4615964523925664429aa1840db988d6..1b901681c9ba9003bd1acac6d06d436c7847d21a 100755 GIT binary patch delta 14805 zcmeHOd0bW1_P_hcRStSZCgIBDJd0drMDG;`QZJ}vb{%pcKtVwea6nT)GX*upB_0hN z&@9X9Nn~bfX*P&vMP*t(End%3%V$_QKK1uq=iC#%_v`n5!{_sUe|0{7&)RG4wb$Nj z?X}OjZ1-9Bs&UCaGx4$AF%gR*`ws0lPTC%+&yKflOu##Ix11nP#0St+w} zGSdu(^!&%?WM-uqwzV`EJRx5V>IGT|>J2*GDIeqH2RiFRobq-~xeI7p=>G)c-0n+I zU(lnVZ4HkYiua(vhO3+kWuV;QTqi#jlno?-vR(|R4`^p+eQRg^ZCUH!qD;3%P*HPq z#{K1H=A{&*=NqyYsG&DpfDl6}F33oql{u}@aMH=20p-B_iatC*r)T9n&Mn?R->jdV zIV&?aB|qN_gGW!r6_7Kn1MdzR%?TZY>qmWNLBHhq`)$u>e^#MEqPuPK6 zcSJj*`=&oi2ro}ZI7H{I}dM=e+Pg0jcYgR&zTDfv0`W*H2(I%yqEb=uw9S*u4r zr{|{{3=czI#0_)>8wB`QT$qxbg#jDxAisEEkq~kR)4OU0yMgC+?%gzbE++`jq z0QDS+)=oVaXM5_d*?T-MB^9Y=aO+_xQVoypp&8r`${p$*&&VvuWW$;HebhWF@2Pe8 z69&c|eD54!c6#3Q^e}@#m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pec zTe;#XnzMBG63x5Z#RCYQ@X9|=o4(1pt%X&_T@epl<+J_Ln%wh=IqM6~tM%Q)j6wEE zT~77((AxgHbN6U3u^AU$rJ=VNrc6#3K`R1;tJ0{i$l0CcErv$o6=L_B-G#4NIh!Kn z-Ou$ECGH|YNlg>&mHl3#(eC6l5pQ Promise.all(keys.map(key => caches.delete(key)))) +``` ## Reference @@ -116,6 +132,7 @@ See [utils/vram_requirements](https://github.com/mlc-ai/web-llm/tree/main/utils/ - [ ] Adapters for alternative backends (e.g., Ollama) - [ ] Inference on web worker - [ ] Offline/PWA +- [ ] Cache management - [ ] GPU stats - [ ] Image upload for multimodal like [LLaVA](https://llava-vl.github.io) - [ ] [StableLM Zephyr 3B](https://huggingface.co/stabilityai/stablelm-zephyr-3b) diff --git a/src/components/App.tsx b/src/components/App.tsx index f0870f6..4b01ee7 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -208,7 +208,7 @@ export default function App({ chat }: AppProps) { disabled={trashDisabled} label="Reset" icon={Trash} - className="mr-2 p-2 text-lg" + className="mr-2 text-lg" onClick={handleResetClick} />
@@ -218,7 +218,7 @@ export default function App({ chat }: AppProps) { disabled={stopDisabled} label="Stop" icon={Square} - className="ml-2 p-2 text-lg" + className="ml-2 text-lg" onClick={handleStopClick} />
diff --git a/src/components/Button.tsx b/src/components/Button.tsx index da339ab..153b591 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -12,7 +12,6 @@ export type ButtonProps = Omit< onClick?: ButtonHTMLAttributes['onClick'] } -// TODO: take "size" prop which controls the padding export function Button({ active = false, className, @@ -33,7 +32,7 @@ export function Button({ const disabledClassNames = 'text-neutral-400/50 cursor-not-allowed' const classNames = clsx( - 'leading-none rounded-full focus-visible:outline-none', + 'p-2 leading-none rounded-full focus-visible:outline-none', disabled && disabledClassNames, !disabled && enabledClassNames, !disabled && active && enabledActiveClassNames, diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ec00872..3263d2d 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -27,7 +27,7 @@ export const Header = memo(function Header({ className, ...rest }: HeaderProps) {TITLE}