mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-05 02:45:45 +01:00
aaand of course the only line i add doesn't work
This commit is contained in:
1 parent
33b2688a2d
commit
49ea1dd86f
1 file changed
-1
@@ -27,7 +27,6 @@ def run(cmd, **kwargs):
|
|||||||
|
|
||||||
def install_ollama():
|
def install_ollama():
|
||||||
print("\n-- installing 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")
|
run("curl -fsSL https://ollama.com/install.sh | sh")
|
||||||
subprocess.Popen("ollama serve", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
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
|
time.sleep(5) # give the server a sec to come up before we start pulling models
|
||||||
|
|||||||
Reference in new issue
Block a user