OpenMOSS / OpenMOSS/MOSS

gradio网页demo的问答出现<p>字符

Open
#173 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.3k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

想请问下网页的QA会带有<p>xxx</p>,哪怕在parse_text()中去除掉<p> 后台不显示<p>,网页输入输出也仍然显示该字符,应该如何解决呢
image

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the QA response in the webpage demo and trace how parse_text() output reaches the web input and output displays. Check the reported HTML-like

characters against the attached screenshots; done means the visible response no longer shows those characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.