mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-15 23:13:15 +00:00
WEB API independent
This commit is contained in:
parent
314920b6e1
commit
f02fe50aea
@ -44,7 +44,7 @@ class DbChatOutputParser(BaseOutputParser):
|
||||
else:
|
||||
html_table = df.to_html(index=False, escape=False, sparsify=False)
|
||||
table_str = "".join(html_table.split())
|
||||
html = f"""<div class="w-full overflow-auto">{table_str}</table></div>"""
|
||||
html = f"""<div class="w-full overflow-auto">{table_str}</div>"""
|
||||
|
||||
view_text = f"##### {str(speak)}" + "\n" + html.replace("\n", " ")
|
||||
return view_text
|
||||
|
Loading…
Reference in New Issue
Block a user