mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-19 00:03:36 +00:00
Configure incremental caption Meili batches
This commit is contained in:
@@ -55,6 +55,10 @@ class Settings:
|
||||
).strip().lower() not in {"0", "false", "no", "off"}
|
||||
caption_timeout_seconds: int = int(os.getenv("CAPTION_TIMEOUT_SECONDS", "180"))
|
||||
caption_max_tokens: int = int(os.getenv("CAPTION_MAX_TOKENS", "120"))
|
||||
caption_meili_batch_size: int = max(
|
||||
1,
|
||||
int(os.getenv("CAPTION_MEILI_BATCH_SIZE", "500")),
|
||||
)
|
||||
caption_prompt_file: Path = Path(
|
||||
os.getenv("CAPTION_PROMPT_FILE", "./data/caption_prompt.txt")
|
||||
).expanduser().resolve()
|
||||
|
||||
Reference in New Issue
Block a user