Spaces:
Runtime error
Runtime error
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> | |
""" | |