mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
Merge branch 'main' into feat/kysely
This commit is contained in:
commit
5668d332f6
3 changed files with 10 additions and 10 deletions
|
@ -83,7 +83,7 @@ The default configuration looks like this:
|
||||||
},
|
},
|
||||||
"machineLearning": {
|
"machineLearning": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"url": ["http://immich-machine-learning:3003"],
|
"urls": ["http://immich-machine-learning:3003"],
|
||||||
"clip": {
|
"clip": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"modelName": "ViT-B-32__openai"
|
"modelName": "ViT-B-32__openai"
|
||||||
|
|
|
@ -313,15 +313,12 @@ class BackupService {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (asset.type == AssetType.video) {
|
file =
|
||||||
file = await asset.local!.originFile;
|
await asset.local!.originFile.timeout(const Duration(seconds: 5));
|
||||||
} else {
|
|
||||||
file = await asset.local!.originFile
|
if (asset.local!.isLivePhoto) {
|
||||||
|
livePhotoFile = await asset.local!.originFileWithSubtype
|
||||||
.timeout(const Duration(seconds: 5));
|
.timeout(const Duration(seconds: 5));
|
||||||
if (asset.local!.isLivePhoto) {
|
|
||||||
livePhotoFile = await asset.local!.originFileWithSubtype
|
|
||||||
.timeout(const Duration(seconds: 5));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,10 @@
|
||||||
|
|
||||||
<main class="grid h-screen bg-immich-bg pt-18 dark:bg-immich-dark-bg">
|
<main class="grid h-screen bg-immich-bg pt-18 dark:bg-immich-dark-bg">
|
||||||
{#if assetInteraction.selectionActive}
|
{#if assetInteraction.selectionActive}
|
||||||
<AssetSelectControlBar assets={assetInteraction.selectedAssets} clearSelect={assetInteraction.clearMultiselect}>
|
<AssetSelectControlBar
|
||||||
|
assets={assetInteraction.selectedAssets}
|
||||||
|
clearSelect={() => assetInteraction.clearMultiselect()}
|
||||||
|
>
|
||||||
<CreateSharedLink />
|
<CreateSharedLink />
|
||||||
<ButtonContextMenu icon={mdiPlus} title={$t('add')}>
|
<ButtonContextMenu icon={mdiPlus} title={$t('add')}>
|
||||||
<AddToAlbum />
|
<AddToAlbum />
|
||||||
|
|
Loading…
Reference in a new issue