Commit Graph
45 Commits
Author SHA1 Message Date
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
Peyton 4b6197d343 Removed .detach() because not needed in inference_mode 2023-08-07 23:04:57 -05:00
Peyton badcdf8f17 Forgot import and fixed proper tabbing for code generation. 2023-08-07 22:39:14 -05:00
Peyton 77965f8be3 Updated to script generation to use torch inference_mode and reverted back to using VAEDecode instead of VAEDecodeTiled 2023-08-07 22:26:18 -05:00
Peyton e5254625f8 changed f string. 2023-08-07 16:08:35 -05:00
Peyton a26ee7a1d3 Quick fix for queue logic. 2023-08-07 16:04:28 -05:00
Peyton b2ce42c22e Renamed files and updated README and requirements.txt 2023-08-07 10:04:58 -05:00