mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 09:19:23 +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