Create start_ollama.bat
Browse files- start_ollama.bat +12 -0
start_ollama.bat
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
setlocal
|
3 |
+
|
4 |
+
rem Set allowed web origin
|
5 |
+
set OLLAMA_ORIGINS=http://127.0.0.1:11434
|
6 |
+
|
7 |
+
rem Start Ollama API service
|
8 |
+
echo Starting Ollama with allowed origin: %OLLAMA_ORIGINS%
|
9 |
+
ollama serve
|
10 |
+
|
11 |
+
endlocal
|
12 |
+
pause
|