Skip to content

Commit

Permalink
Merge pull request #142 from lcnetdev/thai_word_splitting
Browse files Browse the repository at this point in the history
Preload Thai LLM.
  • Loading branch information
scossu authored Oct 22, 2024
2 parents ac29135 + 3e35029 commit a71d02a
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 a71d02a

Please sign in to comment.