def file_html(models, resources, title=None, template=FILE, template_variables={}):
 models = _check_models(models)
 with _ModelInDocument(models):
  (docs_json, render_items) = _standalone_docs_json_and_render_items(models)
  title = _title_from_models(models, title)
  bundle = _bundle_for_objs_and_resources(models, resources)
  return _html_page_for_render_items(bundle, docs_json, render_items, title=title, template=template, template_variables=template_variables)

def file_html ( models , resources , title = None , template = FILE , template_variables = { } ) : models = _check_models ( models ) with _ModelInDocument ( models ) : ( docs_json , render_items ) = _standalone_docs_json_and_render_items ( models ) title = _title_from_models ( models , title ) bundle = _bundle_for_objs_and_resources ( models , resources ) return _html_page_for_render_items ( bundle , docs_json , render_items , title = title , template = template , template_variables = template_variables )
return an html document that embeds bokeh model or document objects .