Gleb Vinarskis
commited on
Commit
·
ef8ff67
1
Parent(s):
4ead0b5
test
Browse files
impresso_langident_wrapper.py
CHANGED
@@ -17,15 +17,15 @@ class Pipeline_One(Pipeline):
|
|
17 |
# self.model = floret.load_model(model_path)
|
18 |
|
19 |
|
20 |
-
def __init__(self, model_path: str):
|
21 |
-
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
|
30 |
|
31 |
|
|
|
17 |
# self.model = floret.load_model(model_path)
|
18 |
|
19 |
|
20 |
+
# def __init__(self, model_path: str):
|
21 |
+
# """
|
22 |
+
# Initialize the Floret language detection pipeline
|
23 |
|
24 |
+
# Args:
|
25 |
+
# model_path (str): Path to the .bin model file
|
26 |
+
# """
|
27 |
+
# super().__init__()
|
28 |
+
# self.model = floret.FastText.load_model(model_path)
|
29 |
|
30 |
|
31 |
|