Spaces:
Sleeping
Sleeping
Fix checkpoints path
Browse files- 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 |
|