Spaces:
Runtime error
Runtime error
russkiyximik commited on
Commit ·
2bef662
1
Parent(s): e8a0f6d
try to run the model
Browse files- entrypoint.sh +1 -1
entrypoint.sh
CHANGED
|
@@ -11,8 +11,8 @@ fi
|
|
| 11 |
|
| 12 |
# Pull the model
|
| 13 |
timeout 15 bash -c 'until nc -z localhost 7860; do echo "Waiting for Ollama server..."; sleep 1; done'
|
| 14 |
-
echo "Pulling the model..."
|
| 15 |
ollama pull codellama:7b
|
|
|
|
| 16 |
|
| 17 |
# Start streamlit app
|
| 18 |
streamlit run mycoder/app.py --server.port=8501 --server.enableCORS=false
|
|
|
|
| 11 |
|
| 12 |
# Pull the model
|
| 13 |
timeout 15 bash -c 'until nc -z localhost 7860; do echo "Waiting for Ollama server..."; sleep 1; done'
|
|
|
|
| 14 |
ollama pull codellama:7b
|
| 15 |
+
ollama run codellama:7b
|
| 16 |
|
| 17 |
# Start streamlit app
|
| 18 |
streamlit run mycoder/app.py --server.port=8501 --server.enableCORS=false
|