Skip to content

Commit

Permalink
Changed imgkit from png to pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh31 committed Mar 27, 2024
1 parent 6d498e6 commit 0e8f4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def save_html(
else:
raise ValueError(f"Invalid type: {type(html_data)}")
if static:
static_path = os.path.join(model_path, label + ".png")
static_path = os.path.join(model_path, label + ".pdf")
imgkit.from_file(path, static_path)
return path

Expand Down

0 comments on commit 0e8f4ea

Please sign in to comment.