#!/bin/sh
cd /home/worker
if [ -z "$(ls -A model)" ]; then #if is empty download
echo "Downloading model"
wget -O model/xix http://minio.clarin-pl.eu/public/models/xix
wget -O model/xxi http://minio.clarin-pl.eu/public/models/xxi
fi
./morphodita_service
