MCPcopy
hub / github.com/sicxu/Deep3DFaceRecon_pytorch / save

Method save

util/html.py:68–73  ·  view source on GitHub ↗

save the current content to the HMTL file

(self)

Source from the content-addressed store, hash-verified

66 p(txt)
67
68 def save(self):
69 """save the current content to the HMTL file"""
70 html_file = '%s/index.html' % self.web_dir
71 f = open(html_file, 'wt')
72 f.write(self.doc.render())
73 f.close()
74
75
76if __name__ == '__main__': # we show an example usage here.

Callers 4

save_networksMethod · 0.80
html.pyFile · 0.80
save_imageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected