reminder for idiots

This commit is contained in:
Somdev Sangwan 2023-05-29 23:35:29 +05:30
parent 751546af68
commit fd83cc2af0

4
run.py
View File

@ -1,6 +1,9 @@
import sys
import shutil
import core.globals
if not shutil.which('ffmpeg'):
print('ffmpeg is not installed. Read the docs you idiot.\n' * 10)
if '--gpu' not in sys.argv:
core.globals.providers = ['CPUExecutionProvider']
@ -17,7 +20,6 @@ from core.utils import is_img, detect_fps, set_fps, create_video, add_audio, ext
from core.config import get_face
import webbrowser
import psutil
import shutil
import cv2
pool = None