Lucas Hansen commited on
Commit
1ffebda
1 Parent(s): 96b3c52

Update facefusion/processors/frame/modules/face_enhancer.py

Browse files
facefusion/processors/frame/modules/face_enhancer.py CHANGED
@@ -84,6 +84,8 @@ def get_frame_processor() -> Any:
84
  model_path = get_options('model').get('path')
85
  FRAME_PROCESSOR = onnxruntime.InferenceSession(model_path, providers = [ 'CUDAExecutionProvider' ])
86
  # FRAME_PROCESSOR = onnxruntime.InferenceSession(model_path, providers = facefusion.globals.execution_providers)
 
 
87
  return FRAME_PROCESSOR
88
 
89
 
 
84
  model_path = get_options('model').get('path')
85
  FRAME_PROCESSOR = onnxruntime.InferenceSession(model_path, providers = [ 'CUDAExecutionProvider' ])
86
  # FRAME_PROCESSOR = onnxruntime.InferenceSession(model_path, providers = facefusion.globals.execution_providers)
87
+ model_path = get_options('model').get('path')
88
+ FRAME_PROCESSOR = onnxruntime.InferenceSession(model_path, providers = [ 'CPUExecutionProvider' ])
89
  return FRAME_PROCESSOR
90
 
91