From 2151833414e6b64934d582bd4bb196258ae0efaa Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Tue, 21 Oct 2025 11:47:15 -0400 Subject: [PATCH] Fix file output dir --- chandra/scripts/cli.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chandra/scripts/cli.py b/chandra/scripts/cli.py index 4e5b848..c2be63c 100755 --- a/chandra/scripts/cli.py +++ b/chandra/scripts/cli.py @@ -87,7 +87,7 @@ def save_merged_output( # Save extracted images if requested if save_images and result.images: - images_dir = file_output_dir / "images" + images_dir = file_output_dir images_dir.mkdir(exist_ok=True) for img_name, pil_image in result.images.items(): diff --git a/pyproject.toml b/pyproject.toml index 84acf9c..cc48e76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "chandra-ocr" -version = "0.1.5" +version = "0.1.6" description = "OCR model that converts documents to markdown, HTML, or JSON." readme = "README.md" requires-python = ">=3.10"