audio-webui / install.py
mrtroydev's picture
Upload folder using huggingface_hub
3883c60 verified
raw
history blame contribute delete
420 Bytes
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()