Skip to content

Commit 4d01c6e

Browse files
authored
Merge pull request #67 from siboehm/siboehm/tempFilesDocs
2 parents 5aa89e2 + 1602ae7 commit 4d01c6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lleaves/lleaves.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def __init__(self, model_file):
4646
"""
4747
Initialize the uncompiled model.
4848
49-
:param model_file: Path to the model.txt.
49+
:param model_file: Path to the model.txt. Hint: If you have the string representation of the model,
50+
you can use `tempfile` from the standard library to write the string to a file first.
5051
"""
5152
self.model_file = model_file
5253
self.is_compiled = False

0 commit comments

Comments
 (0)