Update webapp.py
This commit is contained in:
parent
7f5124dbec
commit
efbe909dfa
@ -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(re.sub(r'\[\d+\]', r'[^\g<0>]', gpt),extensions=['footnotes']),
|
'content': markdown.markdown(gpt,extensions=['footnotes']),
|
||||||
}
|
}
|
||||||
result_container.infoboxes.append(gptbox)
|
result_container.infoboxes.append(gptbox)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user