MakcukBobrov commited on
Commit
982194e
·
verified ·
1 Parent(s): b8cf788

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ OLLAMA = os.path.expanduser("~/ollama")
9
  print("Checking if Ollama exists at the path")
10
  if not os.path.exists(OLLAMA):
11
  print("Ollama not found, downloading it")
12
- subprocess.run("curl -L https://ollama.com/download/ollama-linux-amd64 -o ~/ollama", shell=True)
13
  os.chmod(OLLAMA, 0o755)
14
 
15
  def ollama_service_thread():
 
9
  print("Checking if Ollama exists at the path")
10
  if not os.path.exists(OLLAMA):
11
  print("Ollama not found, downloading it")
12
+ subprocess.run("curl -fsSL https://ollama.com/install.sh | sh", shell=True)
13
  os.chmod(OLLAMA, 0o755)
14
 
15
  def ollama_service_thread():