whatsthispdf04 / start_service.sh
mitulagr2's picture
Update to llama3
2eec007
raw
history blame
193 Bytes
#!/bin/sh
# Start Ollama in the background
ollama serve &
# Wait for Ollama to start
sleep 5
# Pull and run <YOUR_MODEL_NAME>
ollama pull llama3
#
fastapi run /code/app/main.py --port 7860