Asking for Python 3.8+
This commit is contained in:
parent
1113e4cc83
commit
36e3391ca2
4
run.py
4
run.py
@ -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'):
|
||||||
|
Loading…
Reference in New Issue
Block a user