one more fix....
This commit is contained in:
parent
8ec04d2fcb
commit
d023af58e7
1 changed files with 2 additions and 2 deletions
|
@ -47,12 +47,12 @@ async function runPublishCommands() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute the 'ollama push' command
|
// Execute the 'ollama push' command
|
||||||
const pushCommand = `ollama push ${modelID}`;
|
const pushCommand = `killall ollama && ollama push ${modelID}`;
|
||||||
//console.log(`Running command: ${pushCommand}`);
|
//console.log(`Running command: ${pushCommand}`);
|
||||||
const { stdout: pushStdout, stderr: pushStderr } = await execPromise(pushCommand);
|
const { stdout: pushStdout, stderr: pushStderr } = await execPromise(pushCommand);
|
||||||
//console.log('Push Command Output:', pushStdout);
|
//console.log('Push Command Output:', pushStdout);
|
||||||
if (pushStderr) {
|
if (pushStderr) {
|
||||||
console.error('Push Command Error:', pushStderr);
|
//console.error('Push Command Error:', pushStderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in a new issue