Skip to content

Commit

Permalink
fix: multimodal output (#96)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Staar <[email protected]>
  • Loading branch information
PeterStaar-IBM authored Dec 6, 2024
1 parent 1f6c4ac commit 2133af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docling_core/types/doc/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def export_to_markdown(

if img is not None:
imgb64 = self._image_to_base64(img)
text = f"\n![Image]({imgb64})\n"
text = f"\n![Image](data:image/png;base64,{imgb64})\n"

return text
else:
Expand Down

0 comments on commit 2133af6

Please sign in to comment.