Peyton DeNiro
9e7e474b05
Refactor the exporter into a package-backed module layout.
...
Split the previous monolithic implementation into focused modules for CLI handling, workflow loading, runtime bootstrap, load ordering, planning, rendering, and file I/O. Keep the public compatibility surface intact by preserving the legacy top-level wrapper while adding as the documented entrypoint. This reduces cross-cutting coupling inside the exporter and makes the runtime/bootstrap behavior easier to evolve without carrying unrelated concerns in one file.
2026-03-29 14:09:24 -05:00
Peyton DeNiro
4370a78728
Fix exporter metadata kwarg and seed sync handling
2026-03-28 17:27:03 -05:00
Peyton DeNiro
494f7cf79a
Remove CLI frontend workflow metadata path
2026-03-28 17:07:59 -05:00
Peyton DeNiro
342e1b8749
Fix workflow metadata and subgraph export names
2026-03-28 16:58:47 -05:00
Peyton DeNiro
a97311dabe
Add CLI support for frontend workflow metadata
2026-03-28 13:58:56 -05:00
Peyton DeNiro
1fa2db89e1
Preserve reimportable ComfyUI workflow metadata
2026-03-28 13:42:44 -05:00
Peyton DeNiro
3ffd985cf7
Fix runtime validation exporter edge cases
2026-03-28 13:33:08 -05:00
Peyton DeNiro
47e5bcc68a
Add runtime E2E validation harness
2026-03-28 13:24:13 -05:00
Peyton DeNiro
380e701132
Narrow runtime compatibility fix
2026-03-28 13:08:34 -05:00
Peyton DeNiro
557adae33e
Fix upscale export runtime compatibility
2026-03-28 13:08:34 -05:00
Peyton DeNiro
77b98ad5e1
Fix upscale model loader export bootstrap
2026-03-28 13:08:34 -05:00
chengxi
42bc6926ae
fix not found comfyui_to_python_utils
2025-09-07 14:32:28 +08:00
pydn
ea32a8fbbe
Remove unneeded print statements.
2024-09-15 19:52:36 -05:00
pydn
e7363070f1
Made updates to check for missing required arguments and for cases when unique id is passed through kwargs.
2024-09-15 19:48:43 -05:00
pydn
aa5416634c
Small update to allow comfyui_to_python.py to run from any subdirectory inside of ComfyUI.
2024-09-14 13:43:10 -05:00
Peyton DeNiro
d5b1896fec
Merge branch 'dev' into atmaranto-main
2024-09-14 13:01:38 -05:00
pydn
ef9637f257
Modifications to code generation match current state of main repo.
2024-09-14 12:50:21 -05:00
pydn
14afc6640a
Hotfix to pass all parameters to generated code if function allows kwargs
2024-09-12 13:35:44 -05:00
pydn
20c19d76e1
Updated default queue size
2024-09-12 11:51:22 -05:00
pydn
d7b7b8492e
Merge branch 'feat/callable_script' into dev
2024-09-12 11:25:16 -05:00
pydn
26f224fb4f
Quick rename to better identify extension util file.
2024-09-11 13:59:37 -05:00
pydn
c1550d86d1
Renamed utils to common to prevent future conflicts with latest comfyui version.
2024-09-11 13:24:09 -05:00
atmaranto
be237bd10a
Ignore missing metadata
2024-05-23 17:59:23 -05:00
atmaranto
9694b84c9c
Don't alter sys.argv when imported
2024-05-15 05:11:54 -05:00
atmaranto
26ed53e53b
Don't send prompt, unique_id
2024-05-04 06:12:29 -05:00
atmaranto
a548adf762
Add prompt data and handle kwargs
2024-05-04 05:56:30 -05:00
atmaranto
e42b98048f
Module API and --output
2024-03-19 01:27:41 -05:00
atmaranto
a0f665c5f6
Allow argument to determine save location
2024-03-18 16:12:13 -05:00
atmaranto
8c7cbf6ea3
Only randomize seed if it's a set value
2024-03-10 05:51:38 -05:00
atmaranto
8f0a47307e
Update README, add template args
2024-03-09 05:59:41 -06:00
atmaranto
0b4788d2af
Bugfixes for args, updated the README
2024-03-09 05:32:08 -06:00
atmaranto
793854d21b
Fixed Windows paths, missing inputs used as args
2024-03-09 04:59:32 -06:00
atmaranto
16b4858b48
Fix CLI bugs
2024-03-07 04:43:42 -06:00
atmaranto
3ad6de7ce4
Updated README and comments
2024-03-07 04:09:07 -06:00
atmaranto
9aaee0bc8c
Initial SaveAsScript changes
2024-03-07 03:45:37 -06:00
Omer Lerinman
334a4c48ad
feat: make the script callable; make the input and output files configurable
2023-11-14 15:00:47 +02:00
pydn
9549e3fe7a
Updated docstring.:
2023-08-25 11:29:09 -05:00
pydn
1430658064
Added docstring.
2023-08-24 22:23:16 -05:00
Peyton
27f7a84eec
Clean up load extra models code.
2023-08-24 21:38:50 -05:00
Peyton DeNiro
ffe21d24c3
Merge pull request #9 from dimtoneff/add_extra_model_paths
...
Added a function to load the directories in the optional file: extra_model_paths.yaml
2023-08-23 14:19:27 -05:00
Felipe Murguia
c0830e58bc
[Fix] Cleans the variable name to avoid comflict characters and numbers. #10
2023-08-23 09:18:08 -06:00
Dimitar Tonev
bfa3160bea
revert back the queue size
2023-08-22 21:17:42 +02:00
Dimitar Tonev
2a819fabf0
Clean up the code a bit
2023-08-22 21:16:26 +02:00
Dimitar Tonev
c01ac61bc1
Added a function to load the directories in the optional file: extra_model_paths.yaml
2023-08-21 22:50:24 +02:00
Peyton
7a85aade18
Updated import order.
2023-08-19 21:15:30 -05:00
Peyton
203a675d6b
Changed default parameters back.
2023-08-19 20:49:16 -05:00
Peyton
95ed7d5426
Added logic to deal with hidden variables.
2023-08-19 20:48:23 -05:00
Peyton
a26219b639
Hotfix for node class names with trailing white spaces. Removed the need to import functions from the utils file when running the generated code.
2023-08-19 19:41:29 -05:00
Peyton
e46283db70
Major refactor to break up code into smaller, task based classes.
2023-08-19 18:07:45 -05:00
Peyton
d25223d65b
First draft of major code refactoring and adding support for custom nodes.
2023-08-19 17:27:42 -05:00