Skip to content

Commit

Permalink
Docs: Add hint about tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
siboehm committed Jan 3, 2024
1 parent 6daed21 commit ed29583
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lleaves/lleaves.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def __init__(self, model_file):
"""
Initialize the uncompiled model.
:param model_file: Path to the model.txt.
:param model_file: Path to the model.txt. Hint: If you have the string representation of the model,
you can use `tempfile` from the standard library to write the string to a file first.
"""
self.model_file = model_file
self.is_compiled = False
Expand Down

0 comments on commit ed29583

Please sign in to comment.