Minimum 'install check log'
This commit is contained in:
parent
4ebf8427a5
commit
37472f43cc
@ -27,8 +27,6 @@ if not os.path.exists(models_dir):
|
|||||||
if not os.path.exists(model_path):
|
if not os.path.exists(model_path):
|
||||||
download(model_url, model_path)
|
download(model_url, model_path)
|
||||||
|
|
||||||
print("Checking nsfw-roop requirements...")
|
|
||||||
|
|
||||||
with open(req_file) as file:
|
with open(req_file) as file:
|
||||||
for package in file:
|
for package in file:
|
||||||
try:
|
try:
|
||||||
@ -52,5 +50,5 @@ with open(req_file) as file:
|
|||||||
print(e)
|
print(e)
|
||||||
print(f"Warning: Failed to install {package}, nsfw-roop will not work.")
|
print(f"Warning: Failed to install {package}, nsfw-roop will not work.")
|
||||||
raise e
|
raise e
|
||||||
finally:
|
# finally:
|
||||||
print(f'{package} - ok')
|
# print(f'{package} - ok')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user