22 Commits (865228a83736bea9ede33e98041f2a7d0ca5daaa)

Author SHA1 Message Date
Wes Roberts 066390eb56 Fixes webui.sh to exec LAUNCH_SCRIPT 3 years ago
Fionn Langhans cb64439f41
Bugfix: Use /usr/bin/env bash instead of just /bin/bash
The problem: Some Linux distrubutions, like NixOS, use a
non-standard filesystem. This causes the bash program to not
be at /bin/bash (though /usr/bin/env is always there).
3 years ago
brkirch 5ec8981df4 Revert most launch.py changes, add mac user script
Adds an addition file to read environment variables from when the webui.sh is run from macOS.
3 years ago
brkirch bef36597cc Fix run as root flag
Even though -f enables running webui.sh as root, the -f flag will also be passed to launch.py, causing it to exit with a usage message. This adds a line to launch.py to remove the -f flag if present.

In addition to the above, all the letters in the command line arguments after each '-' were being processed for 'f' and "illegal option" was displayed for each letter that didn't match. Instead, this commit silences those errors and stops processing if the first flag doesn't start with '-f'.
3 years ago
AUTOMATIC1111 88a01f94a8
Merge pull request #1904 from EternalNooblet/dev
Added a flag to run as root if needed
3 years ago
d8ahazard 0a54bd3395 Optional Accelerate Launch 3 years ago
Mackerel 6515dedf57 webui.sh: no automatic git pull 3 years ago
Matthew Clark bdf1a8903a Pass arguments from bash to python 3 years ago
AUTOMATIC bd4f0fb9d9 revert changes to two bat files I asked to revert but the author couldn't in 863e9efc19. 3 years ago
Zeithrold 863e9efc19
Pull out some of URL to Env Variable (#2578)
* moved repository url to changeable environment variable

* move stable diffusion repo itself to env

* added missing env

* Remove default URL

Co-authored-by: AUTOMATIC1111 <16777216c@gmail.com>
3 years ago
Daniel M 6a4e846710 Fix prerequisites check in webui.sh
- Check the actually used `$python_cmd` and `$GIT` executables instead
  of the hardcoded ones
- Fix typo in comment
3 years ago
EternalNooblet 065364445d added a flag to run as root if needed 3 years ago
Andrew Savchyn d18daafb8b Uppercase for env var LAUNCH_SCRIPT 3 years ago
Andrew Savchyn fcfe2e9ffd Configurable launch script 3 years ago
DepFA e61da308ba Disable sentry logging 3 years ago
benbot d6e8d85e30 removed TORCH_COMMAND section from webui.sh and
added correct torchvision version to default torch install command
3 years ago
safentisFox 7b0f402b66 Fix bad bad torch command variable 3 years ago
AUTOMATIC 7476593014 change () to "" in .sh scripts because export AAA=(BBB CCC) sets AAA to BBB and does not export anything
whoever put that in .sh files - shame on you
3 years ago
orionaskatu a0e819de90 remove model files check 3 years ago
orionaskatu d62fbcc5aa fix on torch_command + tested on debian 3 years ago
orionaskatu 7bf76af40a rewrite for launch.py - untested 3 years ago
orionaskatu efc8ed13e1 install/launch scripts for linux 3 years ago