Commit Graph
43 Commits
Author SHA1 Message Date
Tasha Upchurch 87792fe33d Import classes directly from file instead of using importlib
fix for bug that was allowing importlib to find addons from other installations.
2023-06-26 17:47:53 -04:00
Tasha Upchurch 5692f0fe45 Merge remote-tracking branch 'origin/main' 2023-06-21 17:25:32 -04:00
Tasha Upchurch 1885329c7a Remove unused class "Prompt Template" in __init__.py
Details:
- Removed the unused class "Prompt Template" in the __init__.py file.
- This class was not being used and was causing clutter in the codebase.
- The removal improves code readability and maintainability.
2023-06-21 17:25:07 -04:00
Timothy Eakin e2d0dfbf2e Moved PromptTemplate back to image.py. 2023-06-19 18:12:43 -04:00
Timothy Eakin 513a5118cd Moved PromptTemplate to text.py. 2023-06-19 15:10:20 -04:00
Tasha Upchurch 906fec459e - Added test_descript.py to test the DecodeTranscriptNode class.
- Added test_video.py to test the ImageStackToVideoFile class.
- Both tests ensure the functionality and correctness of the respective classes.
2023-06-18 20:33:31 -04:00
Tasha Upchurch 59d03a3f4a Commit Message:
- Updated video.py
- Added new classes for converting image stack to video frames and video file.
- Fixed input and output directories for video files.
2023-06-18 20:32:18 -04:00
Tasha Upchurch aca7f50a4b Fixed exception handling in image.py and updated FUNC assignment in line 274. 2023-06-18 20:31:38 -04:00
Tasha Upchurch 006236637e Add support for additional function and code inputs in FuncBase and FuncRender classes. 2023-06-18 20:28:42 -04:00
Tasha Upchurch f5d1711fe9 Patch: descript.py
Changes made:
1. Created a new class called DecodeTranscriptNode.
2. Added class method INPUT_TYPES() to define the input types for the class.
3. Defined class variables RETURN_TYPES, RETURN_NAMES, and OUTPUT_NODE for the class.
4. Implemented the func() method to decode a descript transcript file and return the speakers, durations, and paragraphs as lists of strings.
5. Added the ETK_descript_base decorator to the class.

Impact: The new DecodeTranscriptNode class allows for decoding descript transcript files and extracting the speakers, durations, and paragraphs from the file.

Note: The patch also includes some import statements and post-processing calculations for the durations.
2023-06-18 20:28:04 -04:00
Tasha Upchurch fa3d74a6fc Refactor node class mappings in __init__.py
- Updated the import statements to only import necessary modules and classes.
- Changed the approach to dynamically import modules and retrieve classes using importlib.
- Added a check for ImportError when importing modules, and if not using generic nodes, skip the module.
- Removed NODE_CLASS_MAPPINGS_GENERIC and NODE_CLASS_MAPPINGS_COMFY dictionaries.
- Updated NODE_CLASS_MAPPINGS with the new mappings and added the old mappings.
- Removed the unused OLD_NODE_CLASS_MAPPINGS dictionary.
- Added a check to remove nodes with None values from NODE_CLASS_MAPPINGS.
- Imported the video node class mappings and updated NODE_CLASS_MAPPINGS with them as well.
- Added comments for clarity.
2023-06-18 20:22:57 -04:00
Tasha Upchurch 4f9c3ed310 better functional integration 2023-06-14 16:00:50 -04:00
Tasha Upchurch 5599883244 fixed missing instructions 2023-06-13 01:54:47 -04:00
Tasha Upchurch 77535a77f1 bug fixs for various issues around module structure. 2023-06-12 23:24:02 -04:00
Tasha Upchurch dbb0643959 just moving things around 2023-06-12 15:55:08 -04:00
Timothy Eakin f9aaedc0f2 moved Code Execution widget to ETL/func and functional.py 2023-06-10 15:03:55 -04:00
Timothy Eakin c3b5a7dd0f renamed and refactored Eval widget to Code Exec(ution) Widget 2023-06-07 14:19:04 -04:00
Timothy Eakin d4ea966ef2 better place for this 2023-06-06 16:22:29 -04:00
Tasha Upchurch ce78538c82 changes to how exec widget works, still trying to find its best self! 2023-06-05 11:42:47 -04:00
Tasha Upchurch 7e314b0ffb updates to eval widget, now a bit easier to understand usage. also more to come! 2023-06-04 14:38:54 -04:00
Tasha Upchurch 5d9d5abadd formatting 2023-06-04 13:49:25 -04:00
Tasha Upchurch a963ca550b first working ide node for python code 2023-06-04 00:55:46 -04:00
Tasha Upchurch 3862c3e34a changes to help with tests 2023-06-04 00:55:06 -04:00
Tasha Upchurch 07cc1278f9 memory leak somewhere WIP 2023-06-02 21:50:56 -04:00
Tasha Upchurch f4d51c07a8 added the ability to render text in any found font to an image 2023-06-01 23:59:26 -04:00
Tasha Upchurch f56354cf9b fixed reversion in functionality 2023-06-01 23:58:56 -04:00
Tasha Upchurch 5bf9151fdb quick check for tinytxt2img caching th model 2023-06-01 12:10:15 -04:00
Tasha Upchurch f6d1f495c5 update to latest comfy 2023-05-30 15:04:02 -04:00
Tasha Upchurch 1abb75a740 bugfixs 2023-05-29 22:39:10 -04:00
Tasha Upchurch dacbed79c2 changes to exec node and the ability to return TinyTextToImage as a function 2023-05-29 22:38:37 -04:00
Tasha Upchurch eb6f956051 inits for functional nodes 2023-05-29 22:37:41 -04:00
Tasha Upchurch 26c8b8df0d beginnings of a node collection for functional composition etc. 2023-05-29 22:36:53 -04:00
Tasha Upchurch ed56fc2f9d ETK Video based nodes! 2023-05-28 06:42:19 -04:00
Tasha Upchurch 5741cbfe83 fixup for some zombie code 2023-05-28 01:55:37 -04:00
Tasha Upchurch 5539ec6cb2 bugfix 2023-05-28 01:30:33 -04:00
Tasha Upchurch 71f971cd0f removed necessary import 2023-05-27 12:45:09 -04:00
Tasha Upchurch 6a21fffe63 bug fixs and node labeling 2023-05-26 17:10:49 -04:00
Tasha Upchurch e1c0805675 this really shouldnt be here 2023-05-26 11:27:25 -04:00
Tasha Upchurch eab37727dd a quick fix for the utils nodes 2023-05-26 11:26:31 -04:00
Tasha Upchurch d778d0d85d more changes to streamline for our alternate use case 2023-05-26 10:51:32 -04:00
Tasha Upchurch d70859a5da restructure and rename to be more generic 2023-05-25 14:41:25 -04:00
Tasha Upchurch 9807e12198 initial commit
variety of nodes to support many things including a start on alpha channel support for comfyui
2023-05-25 12:55:40 -04:00
Tasha Upchurch 5aefcd5a4b Initial commit 2023-05-25 12:50:55 -04:00