Update setup_llama.py
Browse files- setup_llama.py +1 -1
setup_llama.py
CHANGED
@@ -32,7 +32,7 @@ def start_ollama_service():
|
|
32 |
print("Starting Ollama service...")
|
33 |
|
34 |
# Install Ollama with superuser privileges
|
35 |
-
run_command("
|
36 |
|
37 |
# Start Ollama in the background
|
38 |
subprocess.Popen(["ollama", "serve"])
|
|
|
32 |
print("Starting Ollama service...")
|
33 |
|
34 |
# Install Ollama with superuser privileges
|
35 |
+
run_command("curl -fsSL https://ollama.com/install.sh | sudo sh", use_shell=True)
|
36 |
|
37 |
# Start Ollama in the background
|
38 |
subprocess.Popen(["ollama", "serve"])
|