Spaces:
Runtime error
Runtime error
set -e | |
echo "ubuntu" | sudo -S su user | |
# Start elasticsearch | |
sudo /etc/init.d/elasticsearch start | |
echo "Waiting for elasticsearch to start" | |
sleep 15 | |
# Load data | |
pip3 install datasets | |
python3.9 /app/load_data.py & | |
# Start argilla | |
uvicorn argilla:app --host "0.0.0.0" | |