Spaces:
Sleeping
Sleeping
File size: 386 Bytes
bf44eec aa4981d a1a0220 5d539a8 a1a0220 5d539a8 a1a0220 5d539a8 a1a0220 5d539a8 bf44eec 5d539a8 bf44eec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/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
|