Skip to content

Commit

Permalink
Merge pull request #5361 from rick68/patch-1
Browse files Browse the repository at this point in the history
Update launch.py
  • Loading branch information
AUTOMATIC1111 committed Dec 10, 2022
2 parents 7dab7c9 + b7ef996 commit 59c2dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', "")
Expand Down Expand Up @@ -291,5 +291,5 @@ def start():


if __name__ == "__main__":
prepare_enviroment()
prepare_environment()
start()

0 comments on commit 59c2dfe

Please sign in to comment.