hide gptq on non dev

This commit is contained in:
kwaroran
2023-08-18 19:39:05 +09:00
parent bf1bd127ab
commit 71303e042c

View File

@@ -115,9 +115,11 @@
{/if}
</Arcodion>
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={() => {changeModel('reverse_proxy')}}>Reverse Proxy</button>
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={async () => {
changeModel('local_gptq')
}}>Local Model GPTQ</button>
{#if import.meta.env.DEV}
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={async () => {
changeModel('local_gptq')
}}>Local Model GPTQ</button>
{/if}
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={() => {changeModel('textgen_webui')}}>Oobabooga WebUI</button>
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={() => {changeModel('mancer')}}>Mancer</button>
<button class="hover:bg-selected px-6 py-2 text-lg" on:click={() => {changeModel('palm2')}}>Google PaLM2</button>