Skip to content

Commit 9d1c686

Browse files
committed
fixed name to workflows
1 parent 9d98124 commit 9d1c686

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

.DS_Store

6 KB
Binary file not shown.
File renamed without changes.

impresso_pipelines/langident/langident_pipeline.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def __call__(self, text: str, diagnostics: bool = False, model_id: bool = False)
5858
result = {"language": language[0].replace("__label__", ""), "score": score}
5959

6060
if diagnostics:
61-
language_dict = [{"language": lang.replace("__label__", ""), "score": val} for lang, val in zip(language, value)]
62-
result["diagnostics"] = {"language_dict": language_dict}
61+
language_dist = [{"language": lang.replace("__label__", ""), "score": val} for lang, val in zip(language, value)]
62+
result["diagnostics"] = {"language_dict": language_dist}
6363

6464
if model_id:
6565
result["model_name"] = self.model_name

0 commit comments

Comments
 (0)