-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsettings.example.toml
22 lines (19 loc) · 1.01 KB
/
settings.example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Settings example
# Do not edit this file directly, instead, copy the following as `settings.toml` and edit that file.
# These settings can also be overriden by:
# - Environment variables
# e.g. `COMFY_SCRIPT_TRANSPILE_HOOK_ENABLED=false`
# - Python code
# e.g.
# ```python
# from comfy_script.config import settings
# settings.transpile.hook.enabled=False
# ```
[transpile.hook]
# When ComfyScript is installed as custom nodes, `SaveImage` and similar nodes will be hooked to automatically save the script as the image's metadata. The script will also be printed to the terminal.
# To disable a feature, change its value to `false`.
save_script = true
print_script = true
# Use workflows in API format instead of web UI format when possible.
# Web UI format contains more information, but may also contain some UI-only virtual nodes (e.g. custom Reroute, PrimitiveNode, Note nodes) that cannot be properly transpiled. API format has better compatibility at the cost of less readable output.
prefer_api_format = false