mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 14:20:40 +01:00
Increase the cache size of convert_to_markdown to 4096
This commit is contained in:
parent
9eca197409
commit
46031407b5
@ -48,7 +48,7 @@ def replace_blockquote(m):
|
||||
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=512)
|
||||
@functools.lru_cache(maxsize=4096)
|
||||
def convert_to_markdown(string):
|
||||
|
||||
# Blockquote
|
||||
|
Loading…
Reference in New Issue
Block a user