pull/5370/head
STetsing 5 months ago
parent 40cbf65142
commit 29f4fcfb51
  1. 6
      apps/remixdesktop/src/lib/InferenceServerManager.ts

@ -265,11 +265,11 @@ export class InferenceManager implements ICompletions {
// get platform name and return the path to the python script // get platform name and return the path to the python script
let exec_name = '' let exec_name = ''
if (process.platform === 'win32') { if (process.platform === 'win32') {
exec_name = 'InferenceServer_' + process.platform + '.exe' exec_name = 'InferenceServer-' + process.platform + '.exe'
} else if (process.platform === 'linux') { } else if (process.platform === 'linux') {
exec_name = 'InferenceServer_' + process.platform + '_' + exec_suffix exec_name = 'InferenceServer-' + process.platform + '_' + exec_suffix
} else if (process.platform === 'darwin') { } else if (process.platform === 'darwin') {
exec_name = 'InferenceServer_' + 'mac' exec_name = 'InferenceServer-' + 'mac'
} else { } else {
throw new Error('Unsupported platform') throw new Error('Unsupported platform')
} }

Loading…
Cancel
Save