Make CI happy

This commit is contained in:
henryruhs 2023-08-05 22:43:41 +02:00
parent 3981ef619b
commit f735cef70a
4 changed files with 4 additions and 9 deletions

View File

@ -8,10 +8,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: '3.10'
- run: pip install flake8
- run: pip install mypy
- run: flake8 run.py roop
@ -26,10 +26,10 @@ jobs:
uses: actions/checkout@v2
- name: Set up ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: '3.10'
- 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
if: matrix.os != 'windows-latest'

View File

@ -4,7 +4,6 @@ import threading
from basicsr.archs.rrdbnet_arch import RRDBNet
from realesrgan import RealESRGANer
import roop.globals
import roop.processors.frame.core as frame_processors
from roop.typing import Frame, Face
from roop.utilities import conditional_download, resolve_relative_path

View File

@ -1,8 +1,5 @@
from time import sleep
from typing import Dict, Any
import gradio
import numpy
import roop.globals
from roop.capturer import get_video_frame

View File

@ -2,7 +2,6 @@ from typing import Any, Dict, IO
import gradio
import roop.globals
from roop.face_reference import clear_face_reference
from roop.uis import core as ui
from roop.utilities import is_image