Skip to content

Commit 783c9da

Browse files
committed
Change key dependency name to transformerlab-inference to fix broken installer
1 parent adbd341 commit 783c9da

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/util.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,13 @@ export async function startLocalServer() {
182182
: ['-l', path.join(server_dir, 'run.sh')];
183183
const options = isPlatformWindows()
184184
? {
185-
// stdio: ['ignore', out, err],
186-
}
185+
// stdio: ['ignore', out, err],
186+
}
187187
: {
188-
cwd: server_dir,
189-
// stdio: ['ignore', out, err],
190-
shell: '/bin/bash',
191-
};
188+
cwd: server_dir,
189+
// stdio: ['ignore', out, err],
190+
shell: '/bin/bash',
191+
};
192192

193193
localServer = spawn(exec_cmd, exec_args, options);
194194

@@ -392,9 +392,9 @@ export async function checkDependencies() {
392392
'sentencepiece',
393393
'torch',
394394
'transformers',
395+
'transformerlab-inference',
395396
'peft',
396397
'packaging',
397-
'fschat',
398398
];
399399

400400
//compare the list of dependencies to the keyDependencies

0 commit comments

Comments
 (0)