From 17d171873d65b7b8b939afad209a2d41aeac8060 Mon Sep 17 00:00:00 2001 From: Anna Pfohl Date: Wed, 29 Nov 2023 01:05:33 +0000 Subject: [PATCH] remove blank line --- llmfoundry/utils/prompt_files.py | 1 - 1 file changed, 1 deletion(-) diff --git a/llmfoundry/utils/prompt_files.py b/llmfoundry/utils/prompt_files.py index 35fed656e1..40de19907a 100644 --- a/llmfoundry/utils/prompt_files.py +++ b/llmfoundry/utils/prompt_files.py @@ -41,7 +41,6 @@ def load_prompts_from_file(prompt_path: str, Returns: List of prompt string(s) """ - if not prompt_path.startswith(PROMPTFILE_PREFIX): raise ValueError(f'prompt_path_str must start with {PROMPTFILE_PREFIX}')