Spaces:
No application file
No application file
File size: 420 Bytes
3883c60 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from webui.args import args
def ensure_installed():
import webui.extensionlib.extensionmanager as em
em.init_extensions()
from setup_tools.magicinstaller.magicinstaller import install_requirements
from setup_tools.venv import ensure_venv
if not args.skip_venv:
ensure_venv()
if not args.skip_install:
install_requirements()
if __name__ == '__main__':
ensure_installed()
|