plseng commited on
Commit
eb6aaa6
·
verified ·
1 Parent(s): 0f373b7

Fix checkpoints path

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -29,8 +29,8 @@ from src.utils import decode_spaces
29
  # -------------------------
30
  # Defaults (edit these)
31
  # -------------------------
32
- DEFAULT_CKPT = "checkpoints/khmer_rnn_best_3.pt"
33
- DEFAULT_VOCAB = "checkpoints/vocab.json"
34
  MAX_LEN = 128 # must match training max_length
35
 
36
 
 
29
  # -------------------------
30
  # Defaults (edit these)
31
  # -------------------------
32
+ DEFAULT_CKPT = ROOT / "checkpoints" / "khmer_rnn_best_3.pt"
33
+ DEFAULT_VOCAB = ROOT / "checkpoints" / "vocab.json"
34
  MAX_LEN = 128 # must match training max_length
35
 
36