emanuelaboros commited on
Commit
527eb4e
·
1 Parent(s): d86a2a4

lets try to change the pipeline

Browse files
Files changed (1) hide show
  1. lang_detect.py +1 -0
lang_detect.py CHANGED
@@ -15,6 +15,7 @@ class MultitaskTokenClassificationPipeline(Pipeline):
15
 
16
  def _forward(self, text):
17
  print(f"Do we arrive here? {text}")
 
18
  return text
19
 
20
  def postprocess(self, text, **kwargs):
 
15
 
16
  def _forward(self, text):
17
  print(f"Do we arrive here? {text}")
18
+ print(f"Let's check the model: {self.model.get_floret_model()}")
19
  return text
20
 
21
  def postprocess(self, text, **kwargs):