Default inpaint engine changed to v2.6. You can still use inpaint engine v1 in dev tools.
Fix some VRAM problems.
This commit is contained in:
lllyasviel
2023-11-13 04:37:25 -08:00
parent 7e222cf3e1
commit d3d63d5bf6
8 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ def update_all_model_names():
def downloading_inpaint_models(v):
assert v in ['v1', 'v2.5', 'v2.6']
assert v in modules.flags.inpaint_engine_versions
load_file_from_url(
url='https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth',
+3
View File
@@ -31,3 +31,6 @@ default_ip = cn_ip
default_parameters = {
cn_ip: (0.5, 0.6), cn_ip_face: (0.9, 0.75), cn_canny: (0.5, 1.0), cn_cpds: (0.5, 1.0)
} # stop, weight
inpaint_engine_versions = ['v1', 'v2.5', 'v2.6']
default_inpaint_engine_version = 'v2.6'