Update webapp.py
This commit is contained in:
parent
efbe909dfa
commit
2e0801f48b
@ -744,7 +744,7 @@ def search():
|
|||||||
gptbox = {
|
gptbox = {
|
||||||
'infobox': 'GPT3',
|
'infobox': 'GPT3',
|
||||||
'id': 'gpt'+str(len(prompt)),
|
'id': 'gpt'+str(len(prompt)),
|
||||||
'content': markdown.markdown(gpt,extensions=['footnotes']),
|
'content': markdown.markdown( re.sub( r'\[(\d+)\](?=[^\^])', r'[^\\1]', gpt), extensions=['footnotes']),
|
||||||
}
|
}
|
||||||
result_container.infoboxes.append(gptbox)
|
result_container.infoboxes.append(gptbox)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user