Spaces:
No application file
No application file
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() | |