mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +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