Spaces:
Running
Running
Germano Cavalcante
commited on
Commit
·
0b6a91f
1
Parent(s):
618bc9a
Set OLLAMA_ORIGINS to "*" for all origins
Browse files
start.sh
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
# Set environment variables for the ollama server
|
4 |
export OLLAMA_HOST=0.0.0.0
|
5 |
-
export OLLAMA_ORIGINS=
|
6 |
|
7 |
# Start the Ollama service in the background
|
8 |
ollama serve &
|
|
|
2 |
|
3 |
# Set environment variables for the ollama server
|
4 |
export OLLAMA_HOST=0.0.0.0
|
5 |
+
export OLLAMA_ORIGINS="*"
|
6 |
|
7 |
# Start the Ollama service in the background
|
8 |
ollama serve &
|