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