Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ if not os.path.exists(OLLAMA):
|
|
9 |
subprocess.run("curl -L https://ollama.com/download/ollama-linux-amd64 -o ~/ollama", shell=True)
|
10 |
os.chmod(OLLAMA, 0o755)
|
11 |
|
12 |
-
@spaces.GPU()
|
13 |
def ollama_service_thread():
|
14 |
subprocess.run("~/ollama serve", shell=True)
|
15 |
|
|
|
9 |
subprocess.run("curl -L https://ollama.com/download/ollama-linux-amd64 -o ~/ollama", shell=True)
|
10 |
os.chmod(OLLAMA, 0o755)
|
11 |
|
|
|
12 |
def ollama_service_thread():
|
13 |
subprocess.run("~/ollama serve", shell=True)
|
14 |
|