def generate_html(keywords, tmpl_path, package_name='<STR_LIT>'):
from jinja2 import Template<EOL>import pkgutil<EOL>template = Template(pkgutil.get_data(package_name, tmpl_path).decode())<EOL>html = template.render(**keywords)<EOL>return html<EOL>
Generate static html file from JSON model and its own id.

Parameters
----------
model : dict
    JSON model from which ecell4.viz generates a plot.
model_id : string
    Unique id for the plot.

Returns
-------
html :
    A HTML object