{$i18n.t('Modelfiles')} | {$WEBUI_NAME}
{$i18n.t('Modelfiles')}
{$i18n.t('Create a modelfile')}
{$i18n.t('Customize Ollama models for a specific purpose')}

{#each $modelfiles as modelfile}
modelfile profile
{modelfile.title}
{modelfile.desc}
{/each}
{ console.log(importFiles); let reader = new FileReader(); reader.onload = async (event) => { let savedModelfiles = JSON.parse(event.target.result); console.log(savedModelfiles); for (const modelfile of savedModelfiles) { await createNewModelfile(localStorage.token, modelfile).catch((error) => { return null; }); } await modelfiles.set(await getModelfiles(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 modelfile')}
{$i18n.t('Discover, download, and explore model presets')}