mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-24 12:58:02 +08:00
fix TensorRTExcutionProvider errors
This commit is contained in:
7
globals.py
Normal file
7
globals.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import onnxruntime
|
||||
|
||||
use_gpu = False
|
||||
providers = onnxruntime.get_available_providers()
|
||||
|
||||
if 'TensorrtExecutionProvider' in providers:
|
||||
providers.remove('TensorrtExecutionProvider')
|
||||
Reference in New Issue
Block a user