oh jesus, joseph, and mary i am dumb.....
This commit is contained in:
parent
d023af58e7
commit
1616722f3b
1 changed files with 4 additions and 4 deletions
|
@ -47,13 +47,13 @@ async function runPublishCommands() {
|
|||
}
|
||||
|
||||
// Execute the 'ollama push' command
|
||||
const pushCommand = `killall ollama && ollama push ${modelID}`;
|
||||
//const pushCommand = `killall ollama && ollama push ${modelID}`;
|
||||
//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);
|
||||
if (pushStderr) {
|
||||
//if (pushStderr) {
|
||||
//console.error('Push Command Error:', pushStderr);
|
||||
}
|
||||
//}
|
||||
|
||||
} catch (err) {
|
||||
console.error('Error executing commands:', err);
|
||||
|
|
Loading…
Reference in a new issue