Clean up some unused code
This commit is contained in:
parent
91f5852245
commit
e71ff959f5
2 changed files with 11 additions and 29 deletions
|
@ -8,12 +8,13 @@ from pathlib import Path
|
|||
|
||||
from PIL import Image
|
||||
|
||||
import modules.shared as shared
|
||||
import modules.extensions as extensions_module
|
||||
import modules.shared as shared
|
||||
from modules.extensions import apply_extensions
|
||||
from modules.html_generator import generate_chat_html
|
||||
from modules.text_generation import encode, generate_reply, get_max_prompt_length
|
||||
|
||||
|
||||
# This gets the new line characters right.
|
||||
def clean_chat_message(text):
|
||||
text = text.replace('\n', '\n\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue