Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,13 +22,13 @@ TOKENIZER_PATH = "bpe.model"
|
|
| 22 |
|
| 23 |
if not os.path.exists(MODEL_PATH):
|
| 24 |
download_file(
|
| 25 |
-
"https://huggingface.co/OpenLab-NLP/
|
| 26 |
MODEL_PATH
|
| 27 |
)
|
| 28 |
|
| 29 |
if not os.path.exists(TOKENIZER_PATH):
|
| 30 |
download_file(
|
| 31 |
-
"https://huggingface.co/OpenLab-NLP/
|
| 32 |
TOKENIZER_PATH
|
| 33 |
)
|
| 34 |
|
|
|
|
| 22 |
|
| 23 |
if not os.path.exists(MODEL_PATH):
|
| 24 |
download_file(
|
| 25 |
+
"https://huggingface.co/OpenLab-NLP/openlem2/resolve/main/encoder.weights.h5?download=true",
|
| 26 |
MODEL_PATH
|
| 27 |
)
|
| 28 |
|
| 29 |
if not os.path.exists(TOKENIZER_PATH):
|
| 30 |
download_file(
|
| 31 |
+
"https://huggingface.co/OpenLab-NLP/openlem2/resolve/main/bpe.model?download=true",
|
| 32 |
TOKENIZER_PATH
|
| 33 |
)
|
| 34 |
|