Skip to content

Commit

Permalink
Add skip venv flag
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmylo committed May 26, 2023
1 parent 93b9aa8 commit 7a88be0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@


def ensure_installed():
ensure_venv()
if not args.skip_install:
install_requirements()
if not args.skip_venv:
ensure_venv()
if not args.skip_install:
install_requirements()


if __name__ == '__main__':
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ If there's an issue with running, please create an [issue](https://github.com/gi
| Name | Args | Short | Usage | Description |
|----------------------------|----------|------------|----------------------------|-------------------------------------------------------------------------|
| --skip-install | [None] | -si | -si | Skip installing packages |
| --skip-venv | [None] | -sv | -sv | Skip creating/activating venv, also skips install (for advanced users) |
| --bark-low-vram | [None] | [None] | --bark-low-vram | Use low vram for bark |
| --bark-cpu-offload | [None] | [None] | --bark-cpu-offload | Use cpu offloading to save vram while still running on gpu |
| --bark-use-cpu | [None] | [None] | --bark-use-cpu | Use cpu for bark |
Expand Down
1 change: 1 addition & 0 deletions webui/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# Install
parser.add_argument('-si', '--skip-install', action='store_true', help='Skip installing packages')
parser.add_argument('-sv', '--skip-venv', action='store_true', help='Skip creating/activating venv, also skips install (for advanced users)')

# Models
# Bark
Expand Down

0 comments on commit 7a88be0

Please sign in to comment.