mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
2.1.802
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:
+1
-1
@@ -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',
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user