inpaint engine v2.6

This commit is contained in:
lllyasviel
2023-11-11 09:47:54 -08:00
parent 64159f0ce3
commit 3d180e9eb6
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
version = '2.1.787' version = '2.1.788'
+9 -1
View File
@@ -280,7 +280,7 @@ def update_all_model_names():
def downloading_inpaint_models(v): def downloading_inpaint_models(v):
assert v in ['v1', 'v2.5'] assert v in ['v1', 'v2.5', 'v2.6']
load_file_from_url( load_file_from_url(
url='https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth', url='https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth',
@@ -306,6 +306,14 @@ def downloading_inpaint_models(v):
) )
patch_file = os.path.join(path_inpaint, 'inpaint_v25.fooocus.patch') patch_file = os.path.join(path_inpaint, 'inpaint_v25.fooocus.patch')
if v == 'v2.6':
load_file_from_url(
url='https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/inpaint_v26.fooocus.patch',
model_dir=path_inpaint,
file_name='inpaint_v26.fooocus.patch'
)
patch_file = os.path.join(path_inpaint, 'inpaint_v26.fooocus.patch')
return head_file, patch_file return head_file, patch_file
+5
View File
@@ -1,3 +1,8 @@
# 2.1.788
* Fixed some math problems in previous versions.
* Inpaint engine v2.6 join the beta test of Fooocus inpaint models. Use it in dev tools -> inpaint engine -> v2.6 .
# 2.1.785 # 2.1.785
* The `user_path_config.txt` is deprecated since 2.1.785. If you are using it right now, please use the new `config.txt` instead. See also the new documentation in the Readme. * The `user_path_config.txt` is deprecated since 2.1.785. If you are using it right now, please use the new `config.txt` instead. See also the new documentation in the Readme.
+1 -1
View File
@@ -300,7 +300,7 @@ with shared.gradio_root:
minimum=-1, maximum=1.0, step=0.001, value=-1, minimum=-1, maximum=1.0, step=0.001, value=-1,
info='Set as negative number to disable. For developer debugging.') info='Set as negative number to disable. For developer debugging.')
inpaint_engine = gr.Dropdown(label='Inpaint Engine', value='v1', choices=['v1', 'v2.5'], inpaint_engine = gr.Dropdown(label='Inpaint Engine', value='v1', choices=['v1', 'v2.5', 'v2.6'],
info='Version of Fooocus inpaint model') info='Version of Fooocus inpaint model')
with gr.Tab(label='Control Debug'): with gr.Tab(label='Control Debug'):