From 5bdff2a1e3a5fd967c5342cdeb9ecba83b9be933 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sun, 8 Mar 2026 01:35:02 +0100 Subject: [PATCH] Updated installation script --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index be52bd8..b62ca4b 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ sudo rm -f word-language-detector-ai-api_latest_linux-aarch_source.tar.gz # Optional: download the model # You can leave this part out if you want to provide the model yourself. Notice that the directory has to include following files: 'label_encoder.json' (label encoder), 'language_detector.keras' (the actual model), 'max_len' (token maximum length) and 'tokenizer.json' (tokenizer). It is recommended to download the model as below. -curl -fsSL --retry 3 -o word-language-detector-ai_0.1.0_tf_model_artifacts.tar.gz https://repo.jcloud-services.ddns.net/models/word-language-detector-ai/word-language-detector-ai_0.1.0_tf_model_artifacts.tar.gz +curl -fsSL --retry 3 -o word-language-detector-ai_latest_tf_model_artifacts.tar.gz https://repo.jcloud-services.ddns.net/models/word-language-detector-ai/word-language-detector-ai_latest_tf_model_artifacts.tar.gz sudo mkdir -p $LOCATION/model -sudo tar -xzf word-language-detector-ai_0.1.0_tf_model_artifacts.tar.gz -C $LOCATION/model -sudo rm -f word-language-detector-ai_0.1.0_tf_model_artifacts.tar.gz +sudo tar -xzf word-language-detector-ai_latest_tf_model_artifacts.tar.gz -C $LOCATION/model +sudo rm -f word-language-detector-ai_latest_tf_model_artifacts.tar.gz ``` Note: Ensure you at least approximately 700 KB of disk space is available. During the installation, approximately 850 KB of disk space must be available. Without the model, you need approximately 400 KB of disk space and approximately 500 MB of disk space during the installation.