roop/core/globals.py
chris 841b2d06c3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	core/globals.py
#	core/processor.py
#	run.py
2023-05-31 11:35:39 -04:00

9 lines
200 B
Python

import onnxruntime
use_gpu = False
providers = onnxruntime.get_available_providers()
all_faces = False
if 'TensorrtExecutionProvider' in providers:
providers.remove('TensorrtExecutionProvider')