From aadc12a1a0eec31a5365d6dbff5422349dc4e221 Mon Sep 17 00:00:00 2001 From: tbartley94 Date: Tue, 23 Jul 2024 17:27:39 +0000 Subject: [PATCH] Apply isort and black reformatting Signed-off-by: tbartley94 --- nemo/collections/common/prompts/canary.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nemo/collections/common/prompts/canary.py b/nemo/collections/common/prompts/canary.py index 45770ed86355..f2b1e58c3bb2 100644 --- a/nemo/collections/common/prompts/canary.py +++ b/nemo/collections/common/prompts/canary.py @@ -20,7 +20,9 @@ class CanaryPromptFormatter(PromptFormatter): "asr", "ast", "translate", "transcribe", "s2t_translation", "<|transcribe|>", "<|translate|>" ), "target_lang": Modality.Text, - "pnc": Modality.TextLiteral("yes", "no", "true", "True", "false", "False", "1", "0", "pnc", "nopnc", "<|pnc|>", "<|nopnc|>"), + "pnc": Modality.TextLiteral( + "yes", "no", "true", "True", "false", "False", "1", "0", "pnc", "nopnc", "<|pnc|>", "<|nopnc|>" + ), }, }, OUTPUT_ROLE: {