mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
Remove a space
This commit is contained in:
parent
ee650343bc
commit
1da8d4a787
@ -57,7 +57,6 @@ def fix_gpt4chan(s):
|
|||||||
s = re.sub("--- [0-9]*\n>>[0-9]*\n---", "---", s)
|
s = re.sub("--- [0-9]*\n>>[0-9]*\n---", "---", s)
|
||||||
s = re.sub("--- [0-9]*\n *\n---", "---", s)
|
s = re.sub("--- [0-9]*\n *\n---", "---", s)
|
||||||
s = re.sub("--- [0-9]*\n\n\n---", "---", s)
|
s = re.sub("--- [0-9]*\n\n\n---", "---", s)
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
|
||||||
def generate_reply(question, temperature, max_length, inference_settings, selected_model):
|
def generate_reply(question, temperature, max_length, inference_settings, selected_model):
|
||||||
|
Loading…
Reference in New Issue
Block a user