one more fix....

This commit is contained in:
The Ghost of FOSS' Past 2024-10-02 17:05:02 -05:00
parent 8ec04d2fcb
commit d023af58e7

View file

@ -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) {