mirror of
https://github.com/facefusion/facefusion-pinokio.git
synced 2026-07-08 12:07:50 +02:00
Fix install script
This commit is contained in:
+9
-2
@@ -14,9 +14,16 @@ function install(kernel)
|
||||
{
|
||||
return 'python install.py --onnxruntime cuda --torch cuda';
|
||||
}
|
||||
if (platform === 'linux' && gpu === 'amd')
|
||||
if (gpu === 'amd')
|
||||
{
|
||||
return 'python install.py --onnxruntime directml --torch rocm';
|
||||
if (platform === 'linux')
|
||||
{
|
||||
return 'python install.py --onnxruntime directml --torch rocm';
|
||||
}
|
||||
if (platform === 'win32')
|
||||
{
|
||||
return 'python install.py --onnxruntime directml --torch cpu';
|
||||
}
|
||||
}
|
||||
return 'python install.py --onnxruntime default --torch cpu';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user