Spaces:
Runtime error
Runtime error
#!/usr/bin/bash | |
echo "calling process one......!" | |
curl https://ollama.ai/install.sh | sh | |
echo "ollama installed here..." | |
ollama serve & | |
# nohup ollama serve > output.log 2>&1 & | |
mkdir -p /etc/systemd/system/ollama.service.d | |
echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf | |
echo "ollama served" | |
ollama run llama2 & | |
# nohup ollama run llama2 > output.log 2>&1 & | |
echo "llama2 running" |