{#if ollamaVersion}
{$i18n.t('Manage Ollama Models')}
{#if OLLAMA_URLS.length > 1}
{/if}
{$i18n.t('Pull a model from Ollama.com')}
{$i18n.t('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,.safetensors" 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')}