Merge branch 'main' into nsfw

This commit is contained in:
Struchkov Mark 2023-06-05 18:49:53 +03:00
commit a5495b2dd4
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ Looking for a CLI mode? Using the -f/--face argument will make the program in cl
- [ ] Support for replacing multiple faces
## Credits
- [henryruhs](https://github.com/henryruhs): for being an irreplacable contributor to the project
- [ffmpeg](https://ffmpeg.org/): for making video related operations easy
- [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models.
- and all developers behind libraries used in this project.

View File

@ -3,7 +3,7 @@
import os
import sys
# single thread doubles performance of gpu-mode - needs to be set before torch import
if any(arg.startswith('--gpu-vendor=') for arg in sys.argv):
if any(arg.startswith('--gpu-vendor') for arg in sys.argv):
os.environ['OMP_NUM_THREADS'] = '1'
import platform
import signal