aaand of course the only line i add doesn't work

This commit is contained in:
david committed 2026-09-08 00:39:31 -03:00
1 parent 33b2688a2d
commit 49ea1dd86f
1 file changed
-1
-1
View File
@@ -27,7 +27,6 @@ def run(cmd, **kwargs):
def install_ollama():
print("\n-- installing ollama --")
run("apt install zstd | sh") #hi david here, colab doesn't come with zstd and since this script is meant for colab only it's okay to put apt
run("curl -fsSL https://ollama.com/install.sh | sh")
subprocess.Popen("ollama serve", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
time.sleep(5) # give the server a sec to come up before we start pulling models