mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-09 16:47:37 +03:00
* tweak language * show validation errors in json response * fix export hwaccel args field in UI * increase annotation offset consts * fix save button race conditions, add reset spinner, and fix enrichments profile leak - Disable both Save and SaveAll buttons while either operation is in progress so users cannot trigger concurrent saves - Show activity indicator on Reset to Default/Global button during the API call - Enrichments panes (semantic search, genai, face recognition) now always show base config fields regardless of profile selection in the header dropdown * fix genai additional_concerns validation error with textarea array widget The additional_concerns field is list[str] in the backend but was using the textarea widget which produces a string value, causing validation errors. Created a TextareaArrayWidget that converts between array (one item per line) and textarea display, and switched additional_concerns to use it * populate and sort global audio filters for all audio labels * add column labels in profiles view * enforce a minimum value of 2 for min_initialized * reuse widget and refactor for multiline * fix * change record copy preset to transcode audio to aac
39 lines
592 B
TypeScript
39 lines
592 B
TypeScript
/** ONNX embedding models that require local model downloads. GenAI providers are not in this list. */
|
|
export const JINA_EMBEDDING_MODELS = ["jinav1", "jinav2"] as const;
|
|
|
|
export const ANNOTATION_OFFSET_MIN = -10000;
|
|
export const ANNOTATION_OFFSET_MAX = 5000;
|
|
export const ANNOTATION_OFFSET_STEP = 50;
|
|
|
|
export const supportedLanguageKeys = [
|
|
"en",
|
|
"es",
|
|
"pt",
|
|
"pt-BR",
|
|
"fr",
|
|
"de",
|
|
"it",
|
|
"ca",
|
|
"ro",
|
|
"nl",
|
|
"nb-NO",
|
|
"sv",
|
|
"zh-CN",
|
|
"yue-Hant",
|
|
"ja",
|
|
"vi",
|
|
"th",
|
|
"he",
|
|
"fa",
|
|
"ru",
|
|
"tr",
|
|
"pl",
|
|
"hr",
|
|
"sk",
|
|
"sl",
|
|
"lt",
|
|
"uk",
|
|
"cs",
|
|
"hu",
|
|
];
|