Spaces:
Sleeping
Sleeping
Upload 178 files
Browse files- .gitattributes +1 -0
- .github/FUNDING.yml +1 -0
- .github/preview.png +3 -0
- .github/workflows/ci.yml +58 -0
- LICENSE.md +3 -0
- ORIGINAL_README.md +61 -0
- facefusion/__init__.py +0 -0
- facefusion/jobs/__init__.py +0 -0
- facefusion/processors/__init__.py +0 -0
- facefusion/processors/modules/__init__.py +0 -0
- facefusion/uis/__init__.py +0 -0
- facefusion/uis/components/__init__.py +0 -0
- tests/__init__.py +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
.github/preview.png filter=lfs diff=lfs merge=lfs -text
|
.github/FUNDING.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
custom: [ buymeacoffee.com/facefusion, ko-fi.com/facefusion ]
|
.github/preview.png
ADDED
|
Git LFS Details
|
.github/workflows/ci.yml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: ci
|
| 2 |
+
|
| 3 |
+
on: [ push, pull_request ]
|
| 4 |
+
|
| 5 |
+
jobs:
|
| 6 |
+
lint:
|
| 7 |
+
runs-on: ubuntu-latest
|
| 8 |
+
steps:
|
| 9 |
+
- name: Checkout
|
| 10 |
+
uses: actions/checkout@v4
|
| 11 |
+
- name: Set up Python 3.12
|
| 12 |
+
uses: actions/setup-python@v5
|
| 13 |
+
with:
|
| 14 |
+
python-version: '3.12'
|
| 15 |
+
- run: pip install flake8
|
| 16 |
+
- run: pip install flake8-import-order
|
| 17 |
+
- run: pip install mypy
|
| 18 |
+
- run: flake8 facefusion.py install.py
|
| 19 |
+
- run: flake8 facefusion tests
|
| 20 |
+
- run: mypy facefusion.py install.py
|
| 21 |
+
- run: mypy facefusion tests
|
| 22 |
+
test:
|
| 23 |
+
strategy:
|
| 24 |
+
matrix:
|
| 25 |
+
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
| 26 |
+
runs-on: ${{ matrix.os }}
|
| 27 |
+
steps:
|
| 28 |
+
- name: Checkout
|
| 29 |
+
uses: actions/checkout@v4
|
| 30 |
+
- name: Set up FFmpeg
|
| 31 |
+
uses: AnimMouse/setup-ffmpeg@v1
|
| 32 |
+
- name: Set up Python 3.12
|
| 33 |
+
uses: actions/setup-python@v5
|
| 34 |
+
with:
|
| 35 |
+
python-version: '3.12'
|
| 36 |
+
- run: python install.py --onnxruntime default --skip-conda
|
| 37 |
+
- run: pip install pytest
|
| 38 |
+
- run: pytest
|
| 39 |
+
report:
|
| 40 |
+
needs: test
|
| 41 |
+
runs-on: ubuntu-latest
|
| 42 |
+
steps:
|
| 43 |
+
- name: Checkout
|
| 44 |
+
uses: actions/checkout@v4
|
| 45 |
+
- name: Set up FFmpeg
|
| 46 |
+
uses: FedericoCarboni/setup-ffmpeg@v3
|
| 47 |
+
- name: Set up Python 3.12
|
| 48 |
+
uses: actions/setup-python@v5
|
| 49 |
+
with:
|
| 50 |
+
python-version: '3.12'
|
| 51 |
+
- run: python install.py --onnxruntime default --skip-conda
|
| 52 |
+
- run: pip install coveralls
|
| 53 |
+
- run: pip install pytest
|
| 54 |
+
- run: pip install pytest-cov
|
| 55 |
+
- run: pytest tests --cov facefusion
|
| 56 |
+
- run: coveralls --service github
|
| 57 |
+
env:
|
| 58 |
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
LICENSE.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OpenRAIL-AS license
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 Henry Ruhs
|
ORIGINAL_README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FaceFusion
|
| 2 |
+
==========
|
| 3 |
+
|
| 4 |
+
> Industry leading face manipulation platform.
|
| 5 |
+
|
| 6 |
+
[](https://github.com/facefusion/facefusion/actions?query=workflow:ci)
|
| 7 |
+
[](https://coveralls.io/r/facefusion/facefusion)
|
| 8 |
+

|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
Preview
|
| 12 |
+
-------
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
Installation
|
| 18 |
+
------------
|
| 19 |
+
|
| 20 |
+
Be aware, the [installation](https://docs.facefusion.io/installation) needs technical skills and is not recommended for beginners. In case you are not comfortable using a terminal, our [Windows Installer](http://windows-installer.facefusion.io) and [macOS Installer](http://macos-installer.facefusion.io) get you started.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
Usage
|
| 24 |
+
-----
|
| 25 |
+
|
| 26 |
+
Run the command:
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
python facefusion.py [commands] [options]
|
| 30 |
+
|
| 31 |
+
options:
|
| 32 |
+
-h, --help show this help message and exit
|
| 33 |
+
-v, --version show program's version number and exit
|
| 34 |
+
|
| 35 |
+
commands:
|
| 36 |
+
run run the program
|
| 37 |
+
headless-run run the program in headless mode
|
| 38 |
+
batch-run run the program in batch mode
|
| 39 |
+
force-download force automate downloads and exit
|
| 40 |
+
benchmark benchmark the program
|
| 41 |
+
job-list list jobs by status
|
| 42 |
+
job-create create a drafted job
|
| 43 |
+
job-submit submit a drafted job to become a queued job
|
| 44 |
+
job-submit-all submit all drafted jobs to become a queued jobs
|
| 45 |
+
job-delete delete a drafted, queued, failed or completed job
|
| 46 |
+
job-delete-all delete all drafted, queued, failed and completed jobs
|
| 47 |
+
job-add-step add a step to a drafted job
|
| 48 |
+
job-remix-step remix a previous step from a drafted job
|
| 49 |
+
job-insert-step insert a step to a drafted job
|
| 50 |
+
job-remove-step remove a step from a drafted job
|
| 51 |
+
job-run run a queued job
|
| 52 |
+
job-run-all run all queued jobs
|
| 53 |
+
job-retry retry a failed job
|
| 54 |
+
job-retry-all retry all failed jobs
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
Documentation
|
| 59 |
+
-------------
|
| 60 |
+
|
| 61 |
+
Read the [documentation](https://docs.facefusion.io) for a deep dive.
|
facefusion/__init__.py
ADDED
|
File without changes
|
facefusion/jobs/__init__.py
ADDED
|
File without changes
|
facefusion/processors/__init__.py
ADDED
|
File without changes
|
facefusion/processors/modules/__init__.py
ADDED
|
File without changes
|
facefusion/uis/__init__.py
ADDED
|
File without changes
|
facefusion/uis/components/__init__.py
ADDED
|
File without changes
|
tests/__init__.py
ADDED
|
File without changes
|