diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d6de8c..49ca83c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,9 +8,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - run: pip install flake8 - run: flake8 run.py core diff --git a/run.py b/run.py index 6b23ee7..7eb9fed 100755 --- a/run.py +++ b/run.py @@ -62,8 +62,8 @@ def limit_resources(): def pre_check(): - if sys.version_info < (3, 8): - quit('Python version is not supported - please upgrade to 3.8 or higher') + if sys.version_info < (3, 9): + quit('Python version is not supported - please upgrade to 3.9 or higher') if not shutil.which('ffmpeg'): quit('ffmpeg is not installed!') model_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'inswapper_128.onnx')