Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ from_config
Method
from_config
src/diffusers/utils/dummy_pt_objects.py:192–193 ·
view source on GitHub ↗
(cls, *args, **kwargs)
Source
from the content-addressed store, hash-verified
190
191
@classmethod
192
def
from_config(cls, *args, **kwargs):
193
requires_backends(cls, [
"torch"
])
194
195
@classmethod
196
def
from_pretrained(cls, *args, **kwargs):
Callers
nothing calls this directly
Calls
1
requires_backends
Function · 0.85
Tested by
no test coverage detected