Spaces:
Runtime error
Runtime error
ebiz
commited on
Commit
β’
650e63c
1
Parent(s):
307ddb8
changes
Browse files- process_one.sh +7 -7
process_one.sh
CHANGED
@@ -5,17 +5,17 @@ echo "calling process one......!"
|
|
5 |
|
6 |
sudo su
|
7 |
|
8 |
-
curl https://ollama.ai/install.sh | sh
|
9 |
|
10 |
echo "ollama installed here..."
|
11 |
|
12 |
-
ollama serve &
|
13 |
# nohup ollama serve > output.log 2>&1 &
|
14 |
-
mkdir -p /etc/systemd/system/ollama.service.d
|
15 |
-
echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf
|
16 |
-
echo "ollama served"
|
17 |
|
18 |
-
ollama run llama2 &
|
19 |
# nohup ollama run llama2 > output.log 2>&1 &
|
20 |
|
21 |
-
echo "llama2 running"
|
|
|
5 |
|
6 |
sudo su
|
7 |
|
8 |
+
sudo curl https://ollama.ai/install.sh | sh
|
9 |
|
10 |
echo "ollama installed here..."
|
11 |
|
12 |
+
sudo ollama serve &
|
13 |
# nohup ollama serve > output.log 2>&1 &
|
14 |
+
sudo mkdir -p /etc/systemd/system/ollama.service.d
|
15 |
+
sudo echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf
|
16 |
+
sudo echo "ollama served"
|
17 |
|
18 |
+
sudo ollama run llama2 &
|
19 |
# nohup ollama run llama2 > output.log 2>&1 &
|
20 |
|
21 |
+
sudo echo "llama2 running"
|