mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-07 18:38:28 +00:00
Make CI happy
This commit is contained in:
parent
3981ef619b
commit
f735cef70a
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -8,10 +8,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: '3.10'
|
||||||
- run: pip install flake8
|
- run: pip install flake8
|
||||||
- run: pip install mypy
|
- run: pip install mypy
|
||||||
- run: flake8 run.py roop
|
- run: flake8 run.py roop
|
||||||
@ -26,10 +26,10 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up ffmpeg
|
- name: Set up ffmpeg
|
||||||
uses: FedericoCarboni/setup-ffmpeg@v2
|
uses: FedericoCarboni/setup-ffmpeg@v2
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: '3.10'
|
||||||
- run: pip install -r requirements-headless.txt
|
- run: pip install -r requirements-headless.txt
|
||||||
- run: python run.py -s .github/examples/source.jpg -t .github/examples/target.mp4 -o .github/examples/output.mp4
|
- run: python run.py -s .github/examples/source.jpg -t .github/examples/target.mp4 -o .github/examples/output.mp4
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import threading
|
|||||||
from basicsr.archs.rrdbnet_arch import RRDBNet
|
from basicsr.archs.rrdbnet_arch import RRDBNet
|
||||||
from realesrgan import RealESRGANer
|
from realesrgan import RealESRGANer
|
||||||
|
|
||||||
import roop.globals
|
|
||||||
import roop.processors.frame.core as frame_processors
|
import roop.processors.frame.core as frame_processors
|
||||||
from roop.typing import Frame, Face
|
from roop.typing import Frame, Face
|
||||||
from roop.utilities import conditional_download, resolve_relative_path
|
from roop.utilities import conditional_download, resolve_relative_path
|
||||||
|
|||||||
@ -1,8 +1,5 @@
|
|||||||
from time import sleep
|
|
||||||
from typing import Dict, Any
|
from typing import Dict, Any
|
||||||
|
|
||||||
import gradio
|
import gradio
|
||||||
import numpy
|
|
||||||
|
|
||||||
import roop.globals
|
import roop.globals
|
||||||
from roop.capturer import get_video_frame
|
from roop.capturer import get_video_frame
|
||||||
|
|||||||
@ -2,7 +2,6 @@ from typing import Any, Dict, IO
|
|||||||
import gradio
|
import gradio
|
||||||
|
|
||||||
import roop.globals
|
import roop.globals
|
||||||
from roop.face_reference import clear_face_reference
|
|
||||||
from roop.uis import core as ui
|
from roop.uis import core as ui
|
||||||
from roop.utilities import is_image
|
from roop.utilities import is_image
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user