Spaces:
Running
Running
Update spellchecker model link
#4
by iamleonie - opened
README.md
CHANGED
|
@@ -10,4 +10,3 @@ pinned: false
|
|
| 10 |
private: true
|
| 11 |
short_description: Fix typos with a tiny local model on CPU
|
| 12 |
---
|
| 13 |
-
|
|
|
|
| 10 |
private: true
|
| 11 |
short_description: Fix typos with a tiny local model on CPU
|
| 12 |
---
|
|
|
server.py
CHANGED
|
@@ -44,7 +44,7 @@ except RuntimeError:
|
|
| 44 |
pass
|
| 45 |
|
| 46 |
MODEL_ID = os.environ.get("SPELLCHECKER_MODEL", "LiquidAI/LFM2.5-Encoder-350M-Spellchecker")
|
| 47 |
-
MODEL_REV = os.environ.get("SPELLCHECKER_REVISION", "
|
| 48 |
STATIC = os.path.join(os.path.dirname(os.path.abspath(__file__)), "static")
|
| 49 |
|
| 50 |
print(f"[server] loading {MODEL_ID}@{MODEL_REV} on {_CPUS} CPU thread(s) ...", flush=True)
|
|
|
|
| 44 |
pass
|
| 45 |
|
| 46 |
MODEL_ID = os.environ.get("SPELLCHECKER_MODEL", "LiquidAI/LFM2.5-Encoder-350M-Spellchecker")
|
| 47 |
+
MODEL_REV = os.environ.get("SPELLCHECKER_REVISION", "65a4a90af31205d2f7ef66b6a68d7b3d276adfdd")
|
| 48 |
STATIC = os.path.join(os.path.dirname(os.path.abspath(__file__)), "static")
|
| 49 |
|
| 50 |
print(f"[server] loading {MODEL_ID}@{MODEL_REV} on {_CPUS} CPU thread(s) ...", flush=True)
|