davanstrien HF staff commited on
Commit
faa9e8b
1 Parent(s): 72db6d0

Update fasttext model loading in main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -147,7 +147,8 @@ model = fasttext.load_model(
147
  "facebook/fasttext-language-identification",
148
  "model.bin",
149
  cache_dir=".",
150
- download_dir=".",
 
151
  )
152
  )
153
 
 
147
  "facebook/fasttext-language-identification",
148
  "model.bin",
149
  cache_dir=".",
150
+ local_dir=".",
151
+ local_dir_use_symlinks=False,
152
  )
153
  )
154