Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIT-DataLab/Edit-Banana
/ unload
Method
unload
modules/base.py:209–212 ·
view source on GitHub ↗
卸载模型
(self)
Source
from the content-addressed store, hash-verified
207
pass
208
209
def
unload(self):
210
""
"卸载模型"
""
211
self._model = None
212
self._is_loaded = False
213
214
@property
215
def
is_loaded(self) -> bool:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected