Html
less than a minute
A class for logging HTML content to W&B.
Html(
data: Union[str, 'TextIO'],
inject: bool = (True),
data_is_not_path: bool = (False)
) -> None
Args | |
---|---|
data |
A string that is a path to a file with the extension “.html”, or a string or IO object containing literal HTML. |
inject |
Add a stylesheet to the HTML object. If set to False the HTML will pass through unchanged. |
data_is_not_path |
If set to False, the data will be treated as a path to a file. |
Methods
inject_head
inject_head() -> None
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.