pull/5100/head
STetsing 2 months ago
parent f8899fb5aa
commit 3761967a87
  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
let exec_name = ''
if (process.platform === 'win32') {
exec_name = 'InferenceServer_' + process.platform + '.exe'
exec_name = 'InferenceServer-' + process.platform + '.exe'
} else if (process.platform === 'linux') {
exec_name = 'InferenceServer_' + process.platform + '_' + exec_suffix
exec_name = 'InferenceServer-' + process.platform + '_' + exec_suffix
} else if (process.platform === 'darwin') {
exec_name = 'InferenceServer_' + 'mac'
exec_name = 'InferenceServer-' + 'mac'
} else {
throw new Error('Unsupported platform')
}

Loading…
Cancel
Save