Skip to content

Commit

Permalink
FIX: source_faces_index -> 0 for face_model
Browse files Browse the repository at this point in the history
+VersionUP (0.4.0, beta passed)
  • Loading branch information
Gourieff committed Dec 13, 2023
1 parent fc4649b commit 663e1db
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 59 deletions.
38 changes: 9 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

<img src="https://github.com/Gourieff/Assets/blob/main/comfyui-reactor-node/uploads/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_EN.png?raw=true" alt="logo" width="180px"/>

![Version](https://img.shields.io/badge/node_version-0.4.0_beta2-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/node_version-0.4.0-brightgreen?style=for-the-badge&labelColor=darkgreen)

<sup>
<font color=brightred>
Expand All @@ -12,7 +12,13 @@
</font>
</sup>

<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>

Expand Down Expand Up @@ -41,32 +47,6 @@

</div>

<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 Node is an extension for ComfyUI that allows a very easy and accurate face-replacement (face swap) in images
</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>

<div align="center">
<img src="https://github.com/Gourieff/Assets/blob/main/comfyui-reactor-node/uploads/demo.gif?raw=true" alt="demo" width="100%"/>
</div>
Expand Down
38 changes: 9 additions & 29 deletions README_RU.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

<img src="https://github.com/Gourieff/Assets/blob/main/comfyui-reactor-node/uploads/ReActor_logo_red.png?raw=true" alt="logo" width="180px"/>
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_RU.png?raw=true" alt="logo" width="180px"/>

![Version](https://img.shields.io/badge/версия_нода-0.4.0_beta2-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/версия_нода-0.4.0-brightgreen?style=for-the-badge&labelColor=darkgreen)

<sup>
<font color=brightred>
Expand All @@ -12,7 +12,13 @@
</font>
</sup>

<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>

Expand Down Expand Up @@ -41,32 +47,6 @@

</div>

<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 Node это расширение для ComfyUI, которое позволяет делать простую и точную замену лиц на изображениях
</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>

<div align="center">
<img src="https://github.com/Gourieff/Assets/blob/main/comfyui-reactor-node/uploads/demo.gif?raw=true" alt="logo" width="100%"/>
</div>
Expand Down
1 change: 1 addition & 0 deletions scripts/reactor_swapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def swap_face(

elif face_model is not None:

source_faces_index = [0]
logger.status("Using Loaded Source Face Model...")
source_face_model = [face_model]
source_faces = source_face_model
Expand Down
2 changes: 1 addition & 1 deletion scripts/reactor_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app_title = "ReActor Node for ComfyUI"
version_flag = "v0.4.0-b2"
version_flag = "v0.4.0"

from scripts.reactor_logger import logger

Expand Down

0 comments on commit 663e1db

Please sign in to comment.