refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2024-12-19 20:56:16 -08:00
parent ef5a5be60d
commit 50f36a5262
2 changed files with 218 additions and 220 deletions

View File

@ -70,7 +70,9 @@ def query_doc(
limit=k,
)
if result:
log.info(f"query_doc:result {result.ids} {result.metadatas}")
return result
except Exception as e:
print(e)

View File

@ -576,8 +576,6 @@
</div>
</div>
<hr class=" dark:border-gray-850" />
{#if showTikaServerUrl}
<div class="flex w-full mt-1">
<div class="flex-1 mr-2">
@ -591,10 +589,11 @@
{/if}
</div>
<div class="">
<hr class=" dark:border-gray-850" />
<div class="text-sm font-medium mb-1">{$i18n.t('Google Drive')}</div>
<div class="my-2">
<div class="">
<div class="flex justify-between items-center text-xs">
<div class="text-xs font-medium">{$i18n.t('Enable Google Drive')}</div>
<div>
@ -662,9 +661,7 @@
>
<Textarea
bind:value={querySettings.template}
placeholder={$i18n.t(
'Leave empty to use the default prompt, or enter a custom prompt'
)}
placeholder={$i18n.t('Leave empty to use the default prompt, or enter a custom prompt')}
/>
</Tooltip>
</div>
@ -854,5 +851,4 @@
{$i18n.t('Save')}
</button>
</div>
</div>
</form>