This commit is contained in:
Qing
2023-12-30 23:36:44 +08:00
parent 85c3397b97
commit c4abda3942
35 changed files with 969 additions and 854 deletions

View File

@@ -43,7 +43,7 @@ def save_config(
restoreformer_device,
enable_gif,
):
config = Config(**locals())
config = InpaintRequest(**locals())
print(config)
if config.input and not os.path.exists(config.input):
return "[Error] Input file or directory does not exist"