Spaces:
Runtime error
Runtime error
Download backend/__init__.py from tellurion/ColorizeDiffusion: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/spaces/tellurion/ColorizeDiffusion/resolve/main/backend/__init__.py
- Command line
-
hf download hf://spaces/tellurion/ColorizeDiffusion/backend/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/tellurion/ColorizeDiffusion/resolve/main/backend/__init__.py
580 Bytes
| from .appfunc import * | |
| __all__ = [ | |
| 'switch_extractor', 'switch_mask_extractor', | |
| 'get_available_models', 'load_model', 'inference', 'reset_random_seed', 'get_last_seed', | |
| 'apppend_prompt', 'clear_prompts', 'visualize', | |
| 'default_line_extractor', 'default_mask_extractor', 'MAXM_INT32', | |
| 'mask_extractor_list', 'line_extractor_list', | |
| ] | |
| default_line_extractor = "lineart_keras" | |
| default_mask_extractor = "ISNet" | |
| mask_extractor_list = ["none", "ISNet", "BiRefNet", "BiRefNet_HR"] | |
| line_extractor_list = ["lineart", "lineart_denoise", "lineart_keras", "lineart_sk"] | |