Embed a report
less than a minute
HTML iframe element
Select the Share button on the upper right hand corner within a report. A modal window will appear. Within the modal window, select Copy embed code. The copied code will render within an Inline Frame (IFrame) HTML element. Paste the copied code into an iframe HTML element of your choice.
Confluence
The proceeding animation demonstrates how to insert the direct link to the report within an IFrame cell in Confluence.
Notion
The proceeding animation demonstrates how to insert a report into a Notion document using an Embed block in Notion and the report’s embedded code.
Gradio
You can use the gr.HTML
element to embed W&B Reports within Gradio Apps and use them within Hugging Face Spaces.
import gradio as gr
def wandb_report(url):
iframe = f'<iframe src={url} style="border:none;height:1024px;width:100%">'
return gr.HTML(iframe)
with gr.Blocks() as demo:
report = wandb_report(
"https://wandb.ai/_scott/pytorch-sweeps-demo/reports/loss-22-10-07-16-00-17---VmlldzoyNzU2NzAx"
)
demo.launch()
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.