Merge pull request #10 from facefusion/next

Next
This commit is contained in:
Henry Ruhs
2024-02-14 19:41:44 +01:00
committed by GitHub
4 changed files with 8 additions and 12 deletions
+4 -8
View File
@@ -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'
}
},
{
+1 -1
View File
@@ -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":
{
+1 -1
View File
@@ -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')
+2 -2
View File
@@ -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'
}
}