mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-20 00:33:36 +00:00
Allow separate text-capable Ollama model for specialist visual overviews
This commit is contained in:
@@ -62,6 +62,10 @@ class Settings:
|
|||||||
or os.getenv("CAPTION_MODEL")
|
or os.getenv("CAPTION_MODEL")
|
||||||
or "huihui_ai/qwen3-vl-abliterated:4b-instruct-q4_K_M"
|
or "huihui_ai/qwen3-vl-abliterated:4b-instruct-q4_K_M"
|
||||||
)
|
)
|
||||||
|
# Optional text-only model for mature-caption summaries. Empty falls back
|
||||||
|
# to the general Overview model; the specialist image captioner may not
|
||||||
|
# be a good text-only summarizer.
|
||||||
|
overview_specialist_model: str = os.getenv("OVERVIEW_SPECIALIST_MODEL", "").strip()
|
||||||
overview_timeout_seconds: int = int(os.getenv("OVERVIEW_TIMEOUT_SECONDS", "240"))
|
overview_timeout_seconds: int = int(os.getenv("OVERVIEW_TIMEOUT_SECONDS", "240"))
|
||||||
caption_meili_batch_size: int = max(
|
caption_meili_batch_size: int = max(
|
||||||
1,
|
1,
|
||||||
|
|||||||
Reference in New Issue
Block a user