Minimum 'install check log'

This commit is contained in:
Art Gourieff 2023-06-19 17:06:39 +07:00 committed by GitHub
parent 4ebf8427a5
commit 37472f43cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,6 @@ if not os.path.exists(models_dir):
if not os.path.exists(model_path):
download(model_url, model_path)
print("Checking nsfw-roop requirements...")
with open(req_file) as file:
for package in file:
try:
@ -52,5 +50,5 @@ with open(req_file) as file:
print(e)
print(f"Warning: Failed to install {package}, nsfw-roop will not work.")
raise e
finally:
print(f'{package} - ok')
# finally:
# print(f'{package} - ok')