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