mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
UI: make the markdown LRU cache infinite (for really long conversations)
This commit is contained in:
parent
3b2c23dfb5
commit
947016d010
2 changed files with 18 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ def replace_blockquote(m):
|
|||
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=4096)
|
||||
@functools.lru_cache(maxsize=None)
|
||||
def convert_to_markdown(string):
|
||||
|
||||
# Quote to <q></q>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue