Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion giskard/rag/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import matplotlib
import numpy as np
import pandas as pd
from IPython.core.display import HTML

from ..llm.client.base import LLMClient
from ..llm.embeddings.base import BaseEmbedding
Expand Down Expand Up @@ -135,6 +134,8 @@ def to_html(self, filename=None, embed=False):
return

if embed:
from IPython.core.display import HTML

return HTML(f'<iframe srcdoc="{escape(html)}" width=100% height=800px></iframe>')
return html

Expand Down
Loading
Loading