wsj1995 commited on
Commit
5e1858a
·
1 Parent(s): c7a6542

feat: test

Browse files
Files changed (1) hide show
  1. facefusion/execution.py +3 -1
facefusion/execution.py CHANGED
@@ -21,7 +21,9 @@ def has_execution_provider(execution_provider_key : ExecutionProviderKey) -> boo
21
 
22
  def get_available_execution_provider_set() -> ExecutionProviderSet:
23
  available_execution_providers = get_available_providers()
24
- available_execution_provider_set : ExecutionProviderSet = {}
 
 
25
 
26
  for execution_provider_key, execution_provider_value in execution_provider_set.items():
27
  if execution_provider_value in available_execution_providers:
 
21
 
22
  def get_available_execution_provider_set() -> ExecutionProviderSet:
23
  available_execution_providers = get_available_providers()
24
+ available_execution_provider_set : ExecutionProviderSet = {
25
+ 'cuda': 'CUDAExecutionProvider',
26
+ }
27
 
28
  for execution_provider_key, execution_provider_value in execution_provider_set.items():
29
  if execution_provider_value in available_execution_providers: