Spaces:
Runtime error
Runtime error
DeathDaDev
commited on
Commit
•
140e3e1
1
Parent(s):
f6e5cd9
Update run_ollama.sh
Browse files- run_ollama.sh +1 -2
run_ollama.sh
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Start Ollama and capture its output
|
4 |
-
OLLAMA_URL=$(ollama start 2>&1 | grep -oP 'http://localhost:\d+')
|
5 |
-
|
6 |
echo "Ollama URL: $OLLAMA_URL"
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Start Ollama and capture its output
|
4 |
+
export OLLAMA_URL=$(ollama start 2>&1 | grep -oP 'http://localhost:\d+')
|
|
|
5 |
echo "Ollama URL: $OLLAMA_URL"
|