MCPcopy Create free account
hub / github.com/RichardErkhov/FastFaceSwap / start

Function start

plugins/plugin_codeformer.py:10–28  ·  view source on GitHub ↗
(core:ChainImgProcessor)

Source from the content-addressed store, hash-verified

8
9# start function
10def start(core:ChainImgProcessor):
11 manifest = { # plugin settings
12 "name": "Codeformer", # name
13 "version": "3.0", # version
14
15 "default_options": {
16 "background_enhance": True, #
17 "face_upsample": True, #
18 "upscale": 2, #
19 "codeformer_fidelity": 0.8,
20 "skip_if_no_face":False,
21
22 },
23
24 "img_processor": {
25 "codeformer": PluginCodeformer # 1 function - init, 2 - process
26 }
27 }
28 return manifest
29
30def start_with_options(core:ChainImgProcessor, manifest:dict):
31 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected