MCPcopy
hub / github.com/potamides/DeTikZify / process_openmoji

Function process_openmoji

examples/tikzero/pretrain.py:33–35  ·  view source on GitHub ↗
(ex, size)

Source from the content-addressed store, hash-verified

31 )
32
33def process_openmoji(ex, size):
34 ex['image'] = convert(expand(ex['image'], size, do_trim=True), "png")
35 return ex
36
37def init_adapter(base_model, embedding_model):
38 model, processor = load(base_model)

Callers

nothing calls this directly

Calls 2

convertFunction · 0.90
expandFunction · 0.90

Tested by

no test coverage detected