Asking for Python 3.8+

This commit is contained in:
henryruhs 2023-05-30 15:21:37 +02:00
parent 1113e4cc83
commit 36e3391ca2

4
run.py
View File

@ -56,8 +56,8 @@ def limit_resources():
def pre_check(): def pre_check():
if sys.version_info < (3, 4): if sys.version_info < (3, 8):
quit(f'Python version is not supported - please upgrade to 3.4 or higher') quit(f'Python version is not supported - please upgrade to 3.8 or higher')
if not shutil.which('ffmpeg'): if not shutil.which('ffmpeg'):
quit('ffmpeg is not installed!') quit('ffmpeg is not installed!')
if os.path.isfile('../inswapper_128.onnx'): if os.path.isfile('../inswapper_128.onnx'):