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

Method add_header

pix2pix/util/html.py:39–46  ·  view source on GitHub ↗

Insert a header to the HTML file Parameters: text (str) -- the header text

(self, text)

Source from the content-addressed store, hash-verified

37 return self.img_dir
38
39 def add_header(self, text):
40 """Insert a header to the HTML file
41
42 Parameters:
43 text (str) -- the header text
44 """
45 with self.doc:
46 h3(text)
47
48 def add_images(self, ims, txts, links, width=400):
49 """add images to the HTML file

Callers 3

html.pyFile · 0.80
save_imagesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected