Rahmans_LLM-Chat / init.sh
ruslanmv's picture
up
5d539a8
raw
history blame
386 Bytes
#!/bin/bash
which ollama
# Start Ollama in the background.
#/usr/local/bin/ollama serve &
# Record Process ID.
#pid=$!
# Pause for Ollama to start.
#sleep 5
#echo "🔴 Retrieve LLAMA3 model..."
#/usr/local/bin/ollama pull llama3
#echo "🟢 Done!"
# Wait for Ollama process to finish.
#wait $pid
# Start the Python application
echo "Starting Python application..."
python ./run.py