oh jesus, joseph, and mary i am dumb.....

This commit is contained in:
The Ghost of FOSS' Past 2024-10-02 17:11:16 -05:00
parent d023af58e7
commit 1616722f3b

View file

@ -47,13 +47,13 @@ async function runPublishCommands() {
} }
// Execute the 'ollama push' command // Execute the 'ollama push' command
const pushCommand = `killall ollama && 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) {
console.error('Error executing commands:', err); console.error('Error executing commands:', err);