We need Python 3.4+
This commit is contained in:
parent
aa3158576a
commit
ff7343c2fa
2
run.py
2
run.py
@ -55,6 +55,8 @@ def limit_resources():
|
|||||||
|
|
||||||
|
|
||||||
def pre_check():
|
def pre_check():
|
||||||
|
if sys.version_info < (3, 4):
|
||||||
|
quit(f'Python version is not supported - please upgrade to 3.4')
|
||||||
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'):
|
||||||
|
Loading…
Reference in New Issue
Block a user