Web cleanup (#539)

* Refactor generate.py and dream.py

* config file path (models.yaml) is parsed inside Generate() to simplify
API

* Better handling of keyboard interrupts in file loading mode vs
interactive

* Removed oodles of unused variables.

* move nonfunctional inpainting out of the scripts directory

* fix ugly ddim tqdm formatting

* fix embiggen breakage, formatting fixes
This commit is contained in:
Lincoln Stein
2022-09-15 07:43:43 -04:00
committed by GitHub
parent ccb2b7c2fb
commit 9df743e2bf
4 changed files with 35 additions and 15 deletions

View File

@ -620,6 +620,7 @@ def create_cmd_parser():
)
parser.add_argument(
'-embiggen',
'--embiggen',
nargs='+',
default=None,
type=float,
@ -627,6 +628,7 @@ def create_cmd_parser():
)
parser.add_argument(
'-embiggen_tiles',
'--embiggen_tiles',
nargs='+',
default=None,
type=int,