Update install.py

pull/12/head
d8ahazard 2022-12-06 08:22:34 -06:00
parent c01aa302b7
commit a5dcbc42b6
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ from launch import run
name = "Smart Crop" name = "Smart Crop"
req_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt") req_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt")
print(f"loading Dreambooth reqs from {req_file}") print(f"loading {name} reqs from {req_file}")
run(f'"{sys.executable}" -m pip install -r "{req_file}"', f"Checking {name} requirements.", f"Couldn't install {name} requirements.") run(f'"{sys.executable}" -m pip install -r "{req_file}"', f"Checking {name} requirements.", f"Couldn't install {name} requirements.")