Skip to content

Industry leading face manipulation platform

Hotfix installer

henryruhs283deb07fa03
diff --git a/facefusion/installer.py b/facefusion/installer.py
index b2904b87..56ffbcde 100644
--- a/facefusion/installer.py
+++ b/facefusion/installer.py
@@ -70,7 +70,7 @@ def run(program : ArgumentParser) -> None:
os.remove(wheel_path)
else:
subprocess.call([ 'pip', 'uninstall', 'onnxruntime', onnxruntime_name, '-y', '-q' ])
- if onnxruntime == 'cuda-12.1':
+ if onnxruntime == 'cuda-12.2':
subprocess.call([ 'pip', 'install', onnxruntime_name + '==' + onnxruntime_version, '--extra-index-url', 'https://pkgs.dev.azure.com/onnxruntime/onnxruntime/_packaging/onnxruntime-cuda-12/pypi/simple', '--force-reinstall' ])
else:
subprocess.call([ 'pip', 'install', onnxruntime_name + '==' + onnxruntime_version, '--force-reinstall' ])