{$i18n.t('Models')} | {$WEBUI_NAME}
{$i18n.t('Models')}
{$i18n.t('Create a model')}
{$i18n.t('Customize models for a specific purpose')}

{#each $models as model}
modelfile profile
{model.name}
{!!model?.info?.meta?.description ? model?.info?.meta?.description : model.id}
{/each}
{ console.log(importFiles); let reader = new FileReader(); reader.onload = async (event) => { let savedModels = JSON.parse(event.target.result); console.log(savedModels); for (const model of savedModels) { await addNewModel(localStorage.token, model).catch((error) => { return null; }); } await models.set(await getModels(localStorage.token)); }; reader.readAsText(importFiles[0]); }} />
{#if localModelfiles.length > 0}
{localModelfiles.length} Local Modelfiles Detected
{/if}
{$i18n.t('Made by OpenWebUI Community')}
{$i18n.t('Discover a model')}
{$i18n.t('Discover, download, and explore model presets')}