diff --git a/install.js b/install.js index 00ea82c..987a799 100644 --- a/install.js +++ b/install.js @@ -1,24 +1,20 @@ function install(kernel) { - const { platform, arch, gpu } = kernel; + const { platform, gpu } = kernel; if (platform === 'darwin') { - if (arch === 'arm64') - { - return 'python install.py --onnxruntime coreml-silicon --torch default --skip-venv'; - } return 'python install.py --onnxruntime default --torch default --skip-venv'; } if ([ 'linux', 'win32' ].includes(platform) && gpu === 'nvidia') { - return 'python install.py --onnxruntime cuda --torch cuda --skip-venv'; + return 'python install.py --onnxruntime cuda-11.8 --torch cuda-11.8 --skip-venv'; } if (gpu === 'amd') { if (platform === 'linux') { - return 'python install.py --onnxruntime rocm --torch rocm --skip-venv'; + return 'python install.py --onnxruntime rocm-5.4.2 --torch rocm-5.4.2 --skip-venv'; } if (platform === 'win32') { @@ -49,7 +45,7 @@ module.exports = async kernel => method: 'shell.run', params: { - message: 'git clone https://github.com/facefusion/facefusion --branch 2.2.1 --single-branch' + message: 'git clone https://github.com/facefusion/facefusion --branch 2.3.0 --single-branch' } }, { diff --git a/package.json b/package.json index 51df261..c924446 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "facefusion-pinokio", "description": "Next generation face swapper and enhancer", - "version": "2.2.1", + "version": "2.3.0", "license": "MIT", "devDependencies": { diff --git a/pinokio.js b/pinokio.js index a0bcbd6..6b986fe 100644 --- a/pinokio.js +++ b/pinokio.js @@ -1,7 +1,7 @@ module.exports = { version: '1', - title: 'FaceFusion 2.2.1', + title: 'FaceFusion 2.3.0', description: 'Next generation face swapper and enhancer', icon: 'icon.png', menu: require(__dirname + '/menu.js') diff --git a/update.js b/update.js index 063de02..94bad5a 100644 --- a/update.js +++ b/update.js @@ -15,7 +15,7 @@ module.exports = () => method: 'shell.run', params: { - message: 'git pull origin 2.2.1', + message: 'git pull origin 2.3.0', path: 'facefusion' } }, @@ -23,7 +23,7 @@ module.exports = () => method: 'shell.run', params: { - message: 'git checkout 2.2.1', + message: 'git checkout 2.3.0', path: 'facefusion' } }