mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
format web
This commit is contained in:
parent
5809992138
commit
d7cc9acf84
3 changed files with 6 additions and 9 deletions
|
|
@ -291,7 +291,8 @@
|
||||||
min={0.1}
|
min={0.1}
|
||||||
max={1}
|
max={1}
|
||||||
disabled={disabled || !config.machineLearning.enabled || !config.machineLearning.ocr.enabled}
|
disabled={disabled || !config.machineLearning.enabled || !config.machineLearning.ocr.enabled}
|
||||||
isEdited={config.machineLearning.ocr.minDetectionScore !== savedConfig.machineLearning.ocr.minDetectionScore}
|
isEdited={config.machineLearning.ocr.minDetectionScore !==
|
||||||
|
savedConfig.machineLearning.ocr.minDetectionScore}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SettingInputField
|
<SettingInputField
|
||||||
|
|
@ -303,7 +304,8 @@
|
||||||
min={0.1}
|
min={0.1}
|
||||||
max={1}
|
max={1}
|
||||||
disabled={disabled || !config.machineLearning.enabled || !config.machineLearning.ocr.enabled}
|
disabled={disabled || !config.machineLearning.enabled || !config.machineLearning.ocr.enabled}
|
||||||
isEdited={config.machineLearning.ocr.minRecognitionScore !== savedConfig.machineLearning.ocr.minRecognitionScore}
|
isEdited={config.machineLearning.ocr.minRecognitionScore !==
|
||||||
|
savedConfig.machineLearning.ocr.minRecognitionScore}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SettingInputField
|
<SettingInputField
|
||||||
|
|
|
||||||
|
|
@ -141,12 +141,7 @@ export enum QueryType {
|
||||||
OCR = 'ocr',
|
OCR = 'ocr',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const validQueryTypes = new Set([
|
export const validQueryTypes = new Set([QueryType.SMART, QueryType.METADATA, QueryType.DESCRIPTION, QueryType.OCR]);
|
||||||
QueryType.SMART,
|
|
||||||
QueryType.METADATA,
|
|
||||||
QueryType.DESCRIPTION,
|
|
||||||
QueryType.OCR,
|
|
||||||
]);
|
|
||||||
|
|
||||||
export const locales = [
|
export const locales = [
|
||||||
{ code: 'af-ZA', name: 'Afrikaans (South Africa)' },
|
{ code: 'af-ZA', name: 'Afrikaans (South Africa)' },
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
type MetadataSearchDto,
|
type MetadataSearchDto,
|
||||||
searchAssets,
|
searchAssets,
|
||||||
searchSmart,
|
searchSmart,
|
||||||
type SmartSearchDto
|
type SmartSearchDto,
|
||||||
} from '@immich/sdk';
|
} from '@immich/sdk';
|
||||||
import { Icon, IconButton, LoadingSpinner } from '@immich/ui';
|
import { Icon, IconButton, LoadingSpinner } from '@immich/ui';
|
||||||
import { mdiArrowLeft, mdiDotsVertical, mdiImageOffOutline, mdiPlus, mdiSelectAll } from '@mdi/js';
|
import { mdiArrowLeft, mdiDotsVertical, mdiImageOffOutline, mdiPlus, mdiSelectAll } from '@mdi/js';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue