Skip to content

Commit

Permalink
Preload Thai LLM.
Browse files Browse the repository at this point in the history
  • Loading branch information
scossu committed Oct 22, 2024
1 parent 237f1f8 commit 3e35029
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ port=${TXL_WEBAPP_PORT:-"8000"}

./sscli admin init-db

# Preload Thai model.
python -c 'from esupar import load; load("th")'

if [ "${FLASK_ENV}" == "development" ]; then
exec flask run -h $host -p $port
else
Expand Down

0 comments on commit 3e35029

Please sign in to comment.