mirror of
https://github.com/Stability-AI/generative-models.git
synced 2025-12-25 17:24:22 +01:00
This allows importing parts of the package without having to import practically everything (since importing a package will import its parents' __init__s, etc).
14 lines
361 B
Python
14 lines
361 B
Python
from .encoders.modules import GeneralConditioner
|
|
|
|
__all__ = [
|
|
# `sgm.models.GeneralConditioner` is referenced in model configurations, etc.,
|
|
# so it must be re-exported from this module.
|
|
"GeneralConditioner",
|
|
"UNCONDITIONAL_CONFIG",
|
|
]
|
|
|
|
UNCONDITIONAL_CONFIG = {
|
|
"target": "sgm.modules.GeneralConditioner",
|
|
"params": {"emb_models": []},
|
|
}
|