Download plugins/__init__.py from hunian003/message: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/hunian003/message/resolve/main/plugins/__init__.py
- Command line
-
hf download hf://spaces/hunian003/message/plugins/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hunian003/message/resolve/main/plugins/__init__.py
298 Bytes
| """为旧 Python 插件保留 ``plugins.*`` 导入,不加载新的 DSH bundle。""" | |
| from pathlib import Path | |
| # 旧插件存在互相导入;只转接命名空间,避免迁移触发实例化或重型依赖加载。 | |
| __path__ = [str(Path(__file__).resolve().parents[1] / "legacy" / "plugins")] | |