Gleb Vinarskis
commited on
Commit
·
f202570
1
Parent(s):
c93084f
test
Browse files
impresso_langident_wrapper.py
CHANGED
@@ -12,7 +12,9 @@ class Pipeline_One(Pipeline):
|
|
12 |
return text
|
13 |
|
14 |
def _forward(self, inputs):
|
15 |
-
model_output = self.model.predict(**inputs, k=1)
|
|
|
|
|
16 |
return model_output
|
17 |
|
18 |
def postprocess(self, outputs, **kwargs):
|
|
|
12 |
return text
|
13 |
|
14 |
def _forward(self, inputs):
|
15 |
+
# model_output = self.model.predict(**inputs, k=1)
|
16 |
+
model_output = "hey"
|
17 |
+
|
18 |
return model_output
|
19 |
|
20 |
def postprocess(self, outputs, **kwargs):
|