Skip to content

Commit

Permalink
Read model stream from start
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpmorgan authored Mar 28, 2024
1 parent f49d8ac commit 6e1ea14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelscan/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ def get_stream(self) -> IO[bytes]:
if not self._stream:
raise ModelDataEmpty("Model data is empty.")

return self._stream
return self._stream.seek(0)

0 comments on commit 6e1ea14

Please sign in to comment.