diff options
author | unknown <mcgpapu@gmail.com> | 2022-12-10 08:30:31 +0000 |
---|---|---|
committer | unknown <mcgpapu@gmail.com> | 2022-12-10 08:30:31 +0000 |
commit | 4a3d05b657322a1a318d578d5bb6d0268b037082 (patch) | |
tree | ac2fd9a65bfdb56af4d9d33428ad2023a0342537 /launch.py | |
parent | 6387043fd2c3311d66690ff27d7da0e030b29cd8 (diff) | |
parent | 59c2dfe1e6a29dcf231fa9d894ac238887e40c39 (diff) | |
download | stable-diffusion-webui-gfx803-4a3d05b657322a1a318d578d5bb6d0268b037082.tar.gz stable-diffusion-webui-gfx803-4a3d05b657322a1a318d578d5bb6d0268b037082.tar.bz2 stable-diffusion-webui-gfx803-4a3d05b657322a1a318d578d5bb6d0268b037082.zip |
Merge branch 'master' of github.com:AUTOMATIC1111/stable-diffusion-webui
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,7 +157,7 @@ def run_extensions_installers(settings_file): run_extension_installer(os.path.join(dir_extensions, dirname_extension))
-def prepare_enviroment():
+def prepare_environment():
torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113")
requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
@@ -291,5 +291,5 @@ def start(): if __name__ == "__main__":
- prepare_enviroment()
+ prepare_environment()
start()
|