Merged two different attempts to create __init__.py

This commit is contained in:
Lincoln Stein
2022-09-21 11:34:53 -04:00
13 changed files with 137 additions and 52 deletions

View File

@ -54,7 +54,7 @@ def main():
else:
print('>> Face restoration disabled')
if opt.esrgan:
esrgan = restoration.load_ersgan()
esrgan = restoration.load_esrgan()
else:
print('>> Upscaling disabled')
except (ModuleNotFoundError, ImportError):