-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: load_model fallback to BytesIO for Py3.6
Catch io.UnsupportedOperation raised in Python <3.7 and buffer file contents into a BytesIO to work around the error.
- Loading branch information
1 parent
1d6b5ef
commit 55c09e5
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters