mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
UI: clear the markdown LRU cache when using the default/notebook tabs
This commit is contained in:
parent
a34273755b
commit
42e80108f5
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ def convert_to_markdown_wrapped(string, use_cache=True):
|
|||
|
||||
|
||||
def generate_basic_html(string):
|
||||
convert_to_markdown.cache_clear()
|
||||
string = convert_to_markdown(string)
|
||||
string = f'<style>{readable_css}</style><div class="readable-container">{string}</div>'
|
||||
return string
|
||||
|
|
Loading…
Reference in a new issue