Spaces:
Runtime error
Runtime error
Pin to board
Browse files
app.py
CHANGED
@@ -66,11 +66,12 @@ def load_typo_detectors():
|
|
66 |
en_detector = TypoDetector(MODELS["English (en)"])
|
67 |
en_detector.load()
|
68 |
|
|
|
|
|
|
|
69 |
fa_detector = TypoDetector(MODELS["Persian (fa)"])
|
70 |
fa_detector.load()
|
71 |
|
72 |
-
is_detector = TypoDetector(MODELS["Icelandic (is)"])
|
73 |
-
is_detector.load()
|
74 |
return {
|
75 |
"en": en_detector,
|
76 |
"fa": fa_detector,
|
|
|
66 |
en_detector = TypoDetector(MODELS["English (en)"])
|
67 |
en_detector.load()
|
68 |
|
69 |
+
is_detector = TypoDetector(MODELS["Icelandic (is)"])
|
70 |
+
is_detector.load()
|
71 |
+
|
72 |
fa_detector = TypoDetector(MODELS["Persian (fa)"])
|
73 |
fa_detector.load()
|
74 |
|
|
|
|
|
75 |
return {
|
76 |
"en": en_detector,
|
77 |
"fa": fa_detector,
|