mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 10:59:32 +01:00
Remove space
This commit is contained in:
parent
c35860ff2f
commit
cd36b8f739
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user