Default Vision-Model auf qwen3-vl:235b-cloud gesetzt
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
db47aa4456
commit
6aba30c0e5
2 changed files with 3 additions and 3 deletions
|
|
@ -120,7 +120,7 @@ def scan(
|
||||||
False, "--vision", "-v", help="Vision-LLM statt OCR+Text-LLM"
|
False, "--vision", "-v", help="Vision-LLM statt OCR+Text-LLM"
|
||||||
),
|
),
|
||||||
vision_model: str = typer.Option(
|
vision_model: str = typer.Option(
|
||||||
"qwen3-vl:latest", "--vision-model", help="Vision-LLM-Modell"
|
"qwen3-vl:235b-cloud", "--vision-model", help="Vision-LLM-Modell"
|
||||||
),
|
),
|
||||||
languages: str = typer.Option("deu+eng", "--lang", "-l", help="OCR-Sprachen"),
|
languages: str = typer.Option("deu+eng", "--lang", "-l", help="OCR-Sprachen"),
|
||||||
backend: str = typer.Option("ollama", "--backend", "-b", help="LLM-Backend"),
|
backend: str = typer.Option("ollama", "--backend", "-b", help="LLM-Backend"),
|
||||||
|
|
@ -317,7 +317,7 @@ def process(
|
||||||
False, "--vision", "-v", help="Vision-LLM statt OCR+Text-LLM"
|
False, "--vision", "-v", help="Vision-LLM statt OCR+Text-LLM"
|
||||||
),
|
),
|
||||||
vision_model: str = typer.Option(
|
vision_model: str = typer.Option(
|
||||||
"qwen3-vl:latest", "--vision-model", help="Vision-LLM-Modell"
|
"qwen3-vl:235b-cloud", "--vision-model", help="Vision-LLM-Modell"
|
||||||
),
|
),
|
||||||
languages: str = typer.Option("deu+eng", "--lang", "-l"),
|
languages: str = typer.Option("deu+eng", "--lang", "-l"),
|
||||||
backend: str = typer.Option("ollama", "--backend", "-b"),
|
backend: str = typer.Option("ollama", "--backend", "-b"),
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ def _extract_json(text: str) -> str:
|
||||||
|
|
||||||
def parse_image(
|
def parse_image(
|
||||||
image_paths: list[Path],
|
image_paths: list[Path],
|
||||||
model: str = "qwen3-vl:latest",
|
model: str = "qwen3-vl:235b-cloud",
|
||||||
base_url: str = "http://localhost:11434",
|
base_url: str = "http://localhost:11434",
|
||||||
max_retries: int = 3,
|
max_retries: int = 3,
|
||||||
) -> Album:
|
) -> Album:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue