Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行gradio demo 聊天内容有格式符号 #477

Closed
3 tasks done
Peter-L-FANG opened this issue May 31, 2023 · 4 comments
Closed
3 tasks done

运行gradio demo 聊天内容有格式符号 #477

Peter-L-FANG opened this issue May 31, 2023 · 4 comments
Labels

Comments

@Peter-L-FANG
Copy link

Peter-L-FANG commented May 31, 2023

请尽量具体地描述您遇到的问题,必要时给出运行命令。这将有助于我们更快速地定位问题所在。
运行gradio demo 聊天内容有格式符号, 如下:
<p>hello</p>
<p>Hello! How can I assist you today?</p>

显示的每个问题和回答都带有<p>和</p>, 请问可以怎么消除。

运行截图或日志

image

必查项目(前三项只保留你要问的)

  • 基础模型:Alpaca-Plus
  • 运行系统: Linux
  • 问题分类: 显示效果问题 / 其他问题
@airaria
Copy link
Contributor

airaria commented May 31, 2023

可能是与mdtex2html相关的问题,暂时可以先参考这个PR #364 中对gradio_demo.py的改动。我们之后会merge进main branch

@NiHaoUCAS
Copy link

升级gradio到3.33.1可以解决

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration.

@github-actions github-actions bot added the stale label Jun 14, 2023
@github-actions
Copy link

Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants