docs: Fix wrong output format in example code (#1427)
fix: wrong output format Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
parent
64918a81ac
commit
c2470ed216
@ -80,7 +80,7 @@ for source in sources:
|
||||
fp.write(json.dumps(res.document.export_to_dict()))
|
||||
|
||||
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,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user