Spaces:
Sleeping
Sleeping
Commit
·
120e3f7
1
Parent(s):
2c0fdb1
fix octal
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ OLLAMA = os.path.expanduser("~/ollama")
|
|
9 |
|
10 |
if not os.path.exists(OLLAMA):
|
11 |
subprocess.run("curl -L https://ollama.com/download/ollama-linux-amd64 -o ~/ollama", shell=True)
|
12 |
-
os.chmod(OLLAMA,
|
13 |
|
14 |
history = []
|
15 |
|
|
|
9 |
|
10 |
if not os.path.exists(OLLAMA):
|
11 |
subprocess.run("curl -L https://ollama.com/download/ollama-linux-amd64 -o ~/ollama", shell=True)
|
12 |
+
os.chmod(OLLAMA, 0o755)
|
13 |
|
14 |
history = []
|
15 |
|