Replies: 1 comment 1 reply
-
Yes, it could be modified like that to be clearer. Python will be smart enough to release the handle though, as soon as the reference count becomes zero. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When calling
load_model
within_memory=False
, it looks like we have a dangling file handle in https://github.com/openai/whisper/blob/main/whisper/__init__.py#L83. This could beBeta Was this translation helpful? Give feedback.
All reactions