Open JIBSIL opened 1 year ago
Markdown response is showing now in the upgraded version of gradio.js file below is a sample code.
<html>
<head>
<script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/4.44.0/gradio.js"></script>
</head>
<body>
<gradio-app src="https://huggingface-projects-llama-2-13b-chat.hf.space"></gradio-app>
</body>
</html>
Describe the bug
Hi,
I'm trying to embed a Huggingface space into my website. I'm not getting consistent behaviour between the embedded and standalone versions.
Linebreaks and code blocks (and it appears, all markdown) is broken in embeds.
Relevant parts of my HTML code:
Yields this:
The same prompt (cached so it's the exact same) yields this on the full Huggingface/Gradio instance:
Have you searched existing issues? π
Reproduction
Screenshot
n/a (provided in description)
Logs
System Info
Severity
Blocking usage of gradio