MCPcopy Index your code
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / save

Method save

pix2pix/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 11

save_raw_16bitFunction · 0.45
save_checkpointMethod · 0.45
save_imageFunction · 0.45
on_submitFunction · 0.45
run.pyFile · 0.45
mainFunction · 0.45
test.pyFile · 0.45
html.pyFile · 0.45
save_imageFunction · 0.45
run_boostmonodepthFunction · 0.45

Calls 1

renderMethod · 0.80

Tested by

no test coverage detected