Spaces:
Runtime error
Runtime error
Download utils/html_utils.py from zerhero/DiffuseCraft: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/zerhero/DiffuseCraft/resolve/main/utils/html_utils.py
- Command line
-
hf download hf://spaces/zerhero/DiffuseCraft/utils/html_utils.py
-
curl -L -o html_utils.py https://huggingface.co/spaces/zerhero/DiffuseCraft/resolve/main/utils/html_utils.py
456 Bytes
| def info_html(json_data, title, subtitle): | |
| """ | |
| :param json_data: | |
| :param title: | |
| :param subtitle: | |
| :return: | |
| """ | |
| return f""" | |
| <div style='padding: 0; border-radius: 10px;'> | |
| <p style='margin: 0; font-weight: bold;'>{title}</p> | |
| <details> | |
| <summary>Details</summary> | |
| <p style='margin: 0; font-weight: bold;'>{subtitle}</p> | |
| </details> | |
| </div> | |
| """ | |