Remove space

This commit is contained in:
oobabooga 2023-05-10 01:41:33 -03:00
parent c35860ff2f
commit cd36b8f739

View File

@ -147,7 +147,6 @@ def load_prompt(fname):
output += utils.replace_all(data['turn_template'].split('<|bot-message|>')[0], replacements) output += utils.replace_all(data['turn_template'].split('<|bot-message|>')[0], replacements)
return output return output
else: else:
with open(Path(f'prompts/{fname}.txt'), 'r', encoding='utf-8') as f: with open(Path(f'prompts/{fname}.txt'), 'r', encoding='utf-8') as f:
text = f.read() text = f.read()