{#if ollamaVersion}
Manage Ollama Models
{$i18n.t('Pull a model from Ollama.com')}
To access the available model names for downloading, {$i18n.t('click here.')}
{#if Object.keys(modelDownloadStatus).length > 0} {#each Object.keys(modelDownloadStatus) as model}
{model}
{modelDownloadStatus[model].pullProgress ?? 0}%
{modelDownloadStatus[model].digest}
{/each} {/if}
{$i18n.t('Delete a model')}
{$i18n.t('Experimental')}
{#if showExperimentalOllama}
{ uploadModelHandler(); }} >
{$i18n.t('Upload a GGUF model')}
{#if modelUploadMode === 'file'}
{ console.log(modelInputFile); }} accept=".gguf" required hidden />
{:else}
{/if}
{#if (modelUploadMode === 'file' && modelInputFile && modelInputFile.length > 0) || (modelUploadMode === 'url' && modelFileUrl !== '')} {/if}
{#if (modelUploadMode === 'file' && modelInputFile && modelInputFile.length > 0) || (modelUploadMode === 'url' && modelFileUrl !== '')}
{$i18n.t('Modelfile Content')}