Restore globals, add process time for better comparison

This commit is contained in:
henryruhs
2023-05-30 01:03:43 +02:00
parent 54f800dd0e
commit dc0653ad39
4 changed files with 17 additions and 6 deletions

5
run.py
View File

@@ -1,11 +1,14 @@
#!/usr/bin/env python3
import sys
import torch
import shutil
import core.globals
if not shutil.which('ffmpeg'):
print('ffmpeg is not installed. Read the docs: https://github.com/s0md3v/roop#installation.\n' * 10)
quit()
if '--gpu' not in sys.argv:
core.globals.providers = ['CPUExecutionProvider']
import glob
import argparse