UPDATE: Ko-Fi -> Boosty | PayPal ban
PayPal banned my business account with all the money was there and I cannot use platforms like Ko-Fi from now on. **This is because I'm Russian?** Okay. Just don’t regret your current policies and double standards in the future. <br>Times and events do pass - and the main thing in all this cycles is to remain Human.<br>Ok, enough lirics. So my friends, only one platform is now available for me and for those who wants to support this project - is <a href="https://boosty.to/artgourieff" target="_blank">Boosty</a>. Welcome. +VersionUP (0.5.1, beta passed)
This commit is contained in:
parent
d11a8a6941
commit
20d2131e81
38
README.md
38
README.md
@ -2,9 +2,15 @@
|
|||||||
|
|
||||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
|
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
<a href="https://boosty.to/artgourieff" target="_blank">
|
||||||
|
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Support Me on Boosty"/>
|
||||||
|
<br>
|
||||||
|
<sup>
|
||||||
|
Support This Project
|
||||||
|
</sup>
|
||||||
|
</a>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -28,39 +34,13 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td width="134px">
|
|
||||||
<a href="https://boosty.to/artgourieff" target="_blank">
|
|
||||||
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Support Me on Boosty"/>
|
|
||||||
<br>
|
|
||||||
<sup>
|
|
||||||
Support This Project
|
|
||||||
</sup>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
ReActor is an extension for Stable Diffusion WebUI that allows a very easy and accurate face-replacement (face swap) in images. Based on <a href="https://github.com/Gourieff/ReActor-UI" target="_blank">ReActor-UI</a>.
|
|
||||||
</td>
|
|
||||||
<td width="144px">
|
|
||||||
<a href="https://paypal.me/artgourieff" target="_blank">
|
|
||||||
<img src="https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg" width="108" alt="Support Me via PayPal"/>
|
|
||||||
<br>
|
|
||||||
<sup>
|
|
||||||
Donate to This Project
|
|
||||||
</sup>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/demo_crop.jpg?raw=true" alt="example"/>
|
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/demo_crop.jpg?raw=true" alt="example"/>
|
||||||
|
|
||||||
<a name="latestupdate">
|
<a name="latestupdate">
|
||||||
|
|
||||||
## What's new in the latest update
|
## What's new in the latest update
|
||||||
|
|
||||||
### 0.5.1 <sub><sup>BETA2</sup></sub>
|
### 0.5.1
|
||||||
|
|
||||||
- You can now save face models as "safetensors" files (stored in `<sd-web-ui-folder>\models\reactor\faces`) and load them into ReActor, keeping super lightweight face models of the faces you use;
|
- You can now save face models as "safetensors" files (stored in `<sd-web-ui-folder>\models\reactor\faces`) and load them into ReActor, keeping super lightweight face models of the faces you use;
|
||||||
- "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful;
|
- "Face Mask Correction" option - if you encounter some pixelation around face contours, this option will be useful;
|
||||||
|
|||||||
38
README_RU.md
38
README_RU.md
@ -2,9 +2,15 @@
|
|||||||
|
|
||||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
|
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<a href='https://ko-fi.com/gourieff' target='_blank'><img height='33' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
<a href="https://boosty.to/artgourieff" target="_blank">
|
||||||
|
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Поддержать проект на Boosty"/>
|
||||||
|
<br>
|
||||||
|
<sup>
|
||||||
|
Поддержать проект
|
||||||
|
</sup>
|
||||||
|
</a>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -27,39 +33,13 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td width="134px">
|
|
||||||
<a href="https://boosty.to/artgourieff" target="_blank">
|
|
||||||
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Поддержать проект на Boosty"/>
|
|
||||||
<br>
|
|
||||||
<sup>
|
|
||||||
Поддержать проект
|
|
||||||
</sup>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
ReActor это расширение для Stable Diffusion WebUI, которое позволяет делать простую и точную замену лиц на изображениях. Сделано на основе <a href="https://github.com/Gourieff/ReActor-UI" target="_blank">ReActor-UI</a>.
|
|
||||||
</td>
|
|
||||||
<td width="144px">
|
|
||||||
<a href="https://paypal.me/artgourieff" target="_blank">
|
|
||||||
<img src="https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg" width="108" alt="Поддержать проект через PayPal"/>
|
|
||||||
<br>
|
|
||||||
<sup>
|
|
||||||
Помочь проекту
|
|
||||||
</sup>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/demo_crop.jpg?raw=true" alt="example"/>
|
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/demo_crop.jpg?raw=true" alt="example"/>
|
||||||
|
|
||||||
<a name="latestupdate">
|
<a name="latestupdate">
|
||||||
|
|
||||||
## Что нового в последнем обновлении
|
## Что нового в последнем обновлении
|
||||||
|
|
||||||
### 0.5.1 <sub><sup>BETA2</sup></sub>
|
### 0.5.1
|
||||||
|
|
||||||
- Теперь можно сохранять модели лиц в качестве файлов "safetensors" (находятся в `<sd-web-ui-folder>\models\reactor\faces`) и загружать их с ReActor, храня супер легкие модели лиц, которые вы чаще всего используете;
|
- Теперь можно сохранять модели лиц в качестве файлов "safetensors" (находятся в `<sd-web-ui-folder>\models\reactor\faces`) и загружать их с ReActor, храня супер легкие модели лиц, которые вы чаще всего используете;
|
||||||
- Новые опция "Face Mask Correction" - если вы сталкиваетесь с пикселизацией вокруг контуров лица, эта опция будет полезной;
|
- Новые опция "Face Mask Correction" - если вы сталкиваетесь с пикселизацией вокруг контуров лица, эта опция будет полезной;
|
||||||
|
|||||||
26
install.py
26
install.py
@ -19,21 +19,21 @@ BASE_PATH = os.path.dirname(os.path.realpath(__file__))
|
|||||||
|
|
||||||
req_file = os.path.join(BASE_PATH, "requirements.txt")
|
req_file = os.path.join(BASE_PATH, "requirements.txt")
|
||||||
|
|
||||||
models_dir_old = os.path.join(models_path, "roop")
|
|
||||||
models_dir = os.path.join(models_path, "insightface")
|
models_dir = os.path.join(models_path, "insightface")
|
||||||
|
|
||||||
# Check the deprecated 'roop' folder
|
# DEPRECATED:
|
||||||
if os.path.exists(models_dir_old):
|
# models_dir_old = os.path.join(models_path, "roop")
|
||||||
if not os.listdir(models_dir_old) and (not os.listdir(models_dir) or not os.path.exists(models_dir)):
|
# if os.path.exists(models_dir_old):
|
||||||
os.rename(models_dir_old, models_dir)
|
# if not os.listdir(models_dir_old) and (not os.listdir(models_dir) or not os.path.exists(models_dir)):
|
||||||
else:
|
# os.rename(models_dir_old, models_dir)
|
||||||
import shutil
|
# else:
|
||||||
for file in os.listdir(models_dir_old):
|
# import shutil
|
||||||
shutil.move(os.path.join(models_dir_old, file), os.path.join(models_dir, file))
|
# for file in os.listdir(models_dir_old):
|
||||||
try:
|
# shutil.move(os.path.join(models_dir_old, file), os.path.join(models_dir, file))
|
||||||
os.rmdir(models_dir_old)
|
# try:
|
||||||
except Exception as e:
|
# os.rmdir(models_dir_old)
|
||||||
print(f"OSError: {e}")
|
# except Exception as e:
|
||||||
|
# print(f"OSError: {e}")
|
||||||
|
|
||||||
model_url = "https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx"
|
model_url = "https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx"
|
||||||
model_name = os.path.basename(model_url)
|
model_name = os.path.basename(model_url)
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
app_title = "ReActor"
|
app_title = "ReActor"
|
||||||
version_flag = "v0.5.1-b4"
|
version_flag = "v0.5.1"
|
||||||
|
|
||||||
from scripts.reactor_logger import logger, get_Run, set_Run
|
from scripts.reactor_logger import logger, get_Run, set_Run
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user