aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorHsiang-Cheng Yang <rick68@users.noreply.github.com>2022-12-03 17:35:17 +0800
committerGitHub <noreply@github.com>2022-12-03 17:35:17 +0800
commitb7ef99634c3f862e835527f8d11c4996eb4f4eec (patch)
tree26f7363ff796fec2285c02b268261d2a346a2b60 /launch.py
parentce049c471b4a1d22f5a8fe8f527788edcf934eda (diff)
Update launch.py
fix a typo
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/launch.py b/launch.py
index ad9ddd5a..90b5d99a 100644
--- a/launch.py
+++ b/launch.py
@@ -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', "")
@@ -290,5 +290,5 @@ def start():
if __name__ == "__main__":
- prepare_enviroment()
+ prepare_environment()
start()