mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
fix: wrong output format
Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
parent
8012a3e4d6
commit
09611330d0
@ -80,7 +80,7 @@ for source in sources:
|
|||||||
fp.write(json.dumps(res.document.export_to_dict()))
|
fp.write(json.dumps(res.document.export_to_dict()))
|
||||||
|
|
||||||
res.document.save_as_json(
|
res.document.save_as_json(
|
||||||
out_path / f"{res.input.file.stem}.md",
|
out_path / f"{res.input.file.stem}.json",
|
||||||
image_mode=ImageRefMode.PLACEHOLDER,
|
image_mode=ImageRefMode.PLACEHOLDER,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user