Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from transformers import pipeline
|
|
| 10 |
# ------------------- Paths & Config -------------------
|
| 11 |
HERE = Path(__file__).parent
|
| 12 |
RETR_DIR = HERE / "retriever" # must contain contexts.json, tfidf_pipe.joblib, X.npz
|
| 13 |
-
MODEL_REPO =
|
| 14 |
DEVICE = -1 # CPU (Spaces usually no GPU)
|
| 15 |
|
| 16 |
# ------------------- Loader: Reader -------------------
|
|
|
|
| 10 |
# ------------------- Paths & Config -------------------
|
| 11 |
HERE = Path(__file__).parent
|
| 12 |
RETR_DIR = HERE / "retriever" # must contain contexts.json, tfidf_pipe.joblib, X.npz
|
| 13 |
+
MODEL_REPO = ChogwuCY/salatus-qa-xlmrb-base # change if needed
|
| 14 |
DEVICE = -1 # CPU (Spaces usually no GPU)
|
| 15 |
|
| 16 |
# ------------------- Loader: Reader -------------------
|