Commit Graph
180 Commits
Author SHA1 Message Date
Tasha Upchurch 9ddd92e95f some compatibility with comfyaudio 2024-10-20 17:36:38 -06:00
Tasha Upchurch e0a56a14e8 some compatibility with comfyaudio 2024-10-20 17:33:50 -06:00
Tasha Upchurch b67b7b7028 some compatibility with comfyaudio 2024-10-20 17:27:22 -06:00
Tasha Upchurch 5110360a60 new xtts module and modified requirements.txt 2024-10-20 16:51:20 -06:00
Tasha Upchurch 1242902b21 new xtts module and modified requirements.txt 2024-10-20 16:23:27 -06:00
Tasha Upchurch 05eedbb992 new xtts module and modified requirements.txt 2024-10-20 16:04:26 -06:00
Tasha Upchurch 06d4f50608 new xtts module and modified requirements.txt 2024-10-20 15:55:20 -06:00
Tasha Upchurch 8f068ea306 new xtts module and modified requirements.txt 2024-10-20 14:18:23 -06:00
Tasha Upchurch 0f93f5f213 new xtts module and modified requirements.txt 2024-10-20 14:07:41 -06:00
gde_user a9ad9a9c20 Merge branch 'main' of github.com:TashaSkyUp/EternalKernelLiteGraphNodes
just a merge
2024-10-20 20:01:17 +00:00
gde_user c5332a8e1b remote 2024-10-20 19:58:50 +00:00
Tasha Upchurch b0e183784d new xtts module and modified requirements.txt 2024-10-20 13:56:35 -06:00
Tasha Upchurch 4b28dbdd7c A bit of housekeeping 2024-10-09 06:32:15 -06:00
Tasha Upchurch e824fbd444 split video.py in two and a bit of housekeeping 2024-10-09 05:08:32 -06:00
Tasha Upchurch 07d8738a4f possible fix for handling listed vaedecode and SVD 2024-10-03 18:38:14 -06:00
Tasha Upchurch 8fd224b218 debug 2024-10-03 18:16:49 -06:00
Tasha Upchurch 6b920e6f01 possible fix for listedvae decode. 2024-10-03 18:10:41 -06:00
Tasha Upchurch ef69eb308f fix for missing import 2024-10-03 17:57:23 -06:00
Tasha Upchurch c7b8da308e fix for incorrect audio order on linux. 2024-10-02 21:53:30 -06:00
Tasha Upchurch 9849000cb9 better error handling for xttscli 2024-10-02 17:16:55 -06:00
Tasha Upchurch 5fd60fc37c better error handling for xttscli 2024-10-02 17:14:21 -06:00
Tasha Upchurch 5b8c2bfeba better error handling for xttscli 2024-10-02 17:08:05 -06:00
Tasha Upchurch 38b1e1a2a9 --rerun option added 2024-10-02 16:52:56 -06:00
Tasha Upchurch 8972dd5fcd better logging for xttscli 2024-10-02 16:46:52 -06:00
Tasha Upchurch f4ef05a8fb fix for video processing on linux 2024-10-02 14:34:13 -06:00
Tasha Upchurch e8bd8939b6 unneeded import 2024-09-26 22:37:10 -06:00
Tasha Upchurch 75f89a8cf3 missing js added 2024-09-26 22:04:16 -06:00
Tasha Upchurch 83876680e4 update 2024-09-26 16:06:20 -06:00
Tasha Upchurch c4a4812dc8 more extensive debugging for non existent filebackeddict 2024-09-23 22:43:04 -06:00
Tasha Upchurch 6d18f12af0 fix for non existing file in filebackeddict class 2024-09-23 22:07:19 -06:00
Tasha Upchurch c792fc8dcc adding opencv-python
changing default tmp path to temp
2024-09-23 21:43:24 -06:00
Tasha Upchurch dcf3d125d7 removing torch in requirements.txt (should already be installed) 2024-09-22 20:09:20 -06:00
Tasha Upchurch 4a1e6dfb49 utils.py:
Added FileBackedDict, which provides a dictionary-like interface with file-backed persistence. Supports nested dictionaries and ensures data is stored and retrieved from disk.
video.py:

Implemented audio resampling in CombineAudioVideoFiles, including video and audio resampling logic.
Refined create_video_from_images to use ffmpeg for combining image sequences into video.
Updated CombineFoldersWithFramesToVideoFiles to handle both duration and fps-based input.
Added additional parameters for video quality and pixel format.
torchvision_nodes.py:

Centralized the imports for NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS across the module.
Adjusted default values for certain fields to improve user experience.
youtube_nodes.py & modules/youtube.py:

Extended the YouTube upload functionality to support optional thumbnail uploads.
Improved initialize_upload function to return video_id after a successful upload.
Introduced the ability to upload a thumbnail alongside the video.
web/ui_modifications.js:

Reworked the login form handling to prevent page reload and improved element management.
Added dynamic graph creation in the handleGraphCreateNew function.
web/showMarkdown.js:

Fixed the import of marked.js, using Marked as the module name to avoid potential conflicts.
modules/xttscli.py:

Increased the batch_size for text-to-speech processing from 2 to 4, enabling faster concurrent execution.
2024-09-22 20:05:04 -06:00
Tasha Upchurch b57701a669 Removed redundant NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS declarations and centralized imports across files.
Simplified class imports and added fallback mechanisms for missing modules.
Enhanced image.py with new nodes like LoadImageFromPath and SaveImageToPath.
Updated server_endpoints.py with file-backed dictionary for user data persistence.
Refined node creation and sampling logic in pytorch_nodes.py and hf_diffusers_nodes.py for improved modularity and consistency."
2024-09-22 20:04:00 -06:00
Tasha Upchurch 6062733ff6 Added input validation patch for execution module in __init__.py.
Refined NODE_CLASS_MAPPINGS to include new classes like SelectStrFromDict, Text_ETK, and StringsToList.
Enhanced functionality for string and list operations in basic.py.
Introduced FuncAnysToDict in functional.py for dynamic dictionary generation from multiple inputs.
Removed redundant redefinitions of mappings in audio.py."
2024-09-22 20:03:12 -06:00
Tasha Upchurch 6be6e68b17 Refactor log_info method to improve readability and consistency in formatting 2024-05-19 11:40:26 -04:00
Tasha Upchurch 0fb4cb2dc8 Updated xttscli.py script to handle multiple texts, absolute folder paths, and file input for text generation. 2024-05-19 11:40:09 -04:00
Tasha Upchurch 9476420a2d Updated requirements.txt file to include h5py for OCR functionality. 2024-05-15 21:51:04 -04:00
Tasha Upchurch 3af8e4ae4c Commit: Added new nodes to the custom PyTorch nodes library for adding convolutional layers, reshaping layers, transformer layers, and modifying models using a function. Also included a new node for plotting series of strings as images. Updated requirements.txt to include scikit-image dependency. 2024-05-15 20:03:54 -04:00
Tasha Upchurch 2d64619b17 Commit message: "Add metadata to video files using ffmpeg in AddMetadataNode" 2024-05-15 15:23:31 -04:00
Tasha Upchurch 8e49180f6d Implement tensor visualization and scaling functions in image_utils module. Fixes an issue with the compression of over-the-top and under-the-bottom values during the forward pass of the Lanczos interpolation layer. 2024-05-15 15:23:23 -04:00
Tasha Upchurch 7f65cb3f53 Refactor the image.py file to handle a time series and efficiently show all images in a grid. Fixes issues with displaying images and adds error handling for grid space constraints. 2024-05-15 15:23:17 -04:00
Tasha Upchurch 282e0d97df Commit: Added new node classes AnyToValue, AnyToIterable, TimeThis, and AnyToObject to the repository. Updated the index file with the new classes and their functionalities. 2024-05-15 15:23:10 -04:00
Tasha Upchurch 036af4bfd5 Fixed audio file handling and added support for multiple texts in speech generation. Also added error handling for file not found exception. 2024-05-15 15:23:01 -04:00
Tasha Upchurch 4116b452fa test requriements update for rpi compatibility. 2024-04-16 17:37:03 -04:00
Tasha Upchurch cb13e16e4a import config via local dir instead 2024-04-15 18:45:37 -04:00
Tasha Upchurch d9170f804b New Features: Added nodes for advanced video and audio processing
Key updates:

Added AddFramesToVideoFolder node to add frames to a video folder
Introduced VideoFolderProvider and VideoDefinitionProvider nodes to manage video folders and video definitions
Added FadeToInVideoFolder node for fading between frames in a video folder
Implemented ListedSVDConditioning node for applying SVD conditioning to a list of parameters
Added VideoFolderFFMPEGVideoInterpolate node to interpolate frames in a video folder using FFmpeg
Introduced AudioFolderProvider and AudioDefinitionProvider nodes for managing audio folders and definitions
Added AddAudioToAudioFolder and AddSilenceToAudioFolder nodes for adding audio files and silence to audio folders
Implemented GetAudioFilesLengthsFromAudioFolder node to retrieve lengths of audio files in a folder
Added AudioFolderRenderAudio node to join audio files in an audio folder
Introduced GenerateMusic node for generating music from descriptions using the AudioCraft library
Added XttsNode for text-to-speech conversion using the XTTS library
Implemented AdjustAudioVolumeForFiles node to adjust volume for a list of audio files
The changes also include the addition of LiteLLM nodes for text generation:

Added FuncAnysToText node that runs Python code with multiple input types and outputs a string
Introduced FuncAnysToLatent node for running code that outputs a latent representation
Added FuncAnysToString node for executing code with various inputs and producing a string output
Implemented FuncAnysToList node to run code that takes different input types and returns a list
Added FuncAnysToCond node for running code with multiple inputs and generating a conditioning output

These new nodes expand the capabilities for video and audio processing, allowing more advanced manipulations and generation of video and audio content within the graph.
2024-04-15 13:29:31 -04:00
Tasha Upchurch 447e9403ae Refactoring and Enhancements Across Multiple Modules
This commit introduces a series of refactoring and enhancements across multiple modules, improving code readability, consistency, and adding new functionalities.

Highlights:
1. `tests/test_hf_diffusers_nodes.py`:
   - Removed unnecessary whitespace.
   - Improved variable assignment consistency (e.g., `ret=ret[0]` to `ret = ret[0]`).
   - Added a new test case `test_create_unet2d_model` for Unet2d model creation.

2. `server_endpoints.py`:
   - Cleaned up commented-out code and added more descriptive comments.
   - Refactored the construction of `real_git_path` for better readability and future maintenance.
   - Implemented minor formatting improvements for better code structure.

3. `basic.py`:
   - Introduced a new class `TupleNode` to handle tuple data types.
   - Modified `StrBreakout` to include dynamic typing for list conversion.
   - Enhanced code readability with better variable naming and added comments for clarity.

4. `pytorch_nodes.py`:
   - Added import statements within functions for `torch`.
   - New classes `SaveTorchTensor` and `LoadTorchTensor` added for saving and loading torch tensors.
   - `GridSearchTraining` class updated with minor formatting changes.

5. `image.py`:
   - In `FloodFillNode`, removed a redundant category assignment.
   - Added two new classes: `DecorateHeightMap` and `RandomImageFromFolder`. These classes provide functionalities for decorating height maps with images and selecting random images from a folder, respectively.

6. `hf_diffusers_nodes.py`:
   - Fixed formatting in tensor format options and added a new line for clarity.
   - New class `CreateUnet2dModel` added for creating a UNet2D model with customizable parameters.
   - Introduced `TrainUnet2dModel` for training a UNet2D model with a dataset, including detailed setup for the training process.

7. `config.yaml`:
   - Added a new base path for `gitio` to centralize the configuration.

These changes aim to improve the maintainability of the codebase, streamline testing processes, and expand the functionalities within the modules, particularly related to image processing and model training in PyTorch and diffusers.
2024-01-18 17:28:28 -05:00
Tasha Upchurch d2d16cadfe Enhanced PyTorch Functionalities and Server Endpoints; Introduced Torchvision and Hugging Face Diffusers Integration
This commit introduces significant enhancements and new features across multiple files in the project. Major changes include:

1. `pytorch_nodes.py`: Expanded PyTorch node functionalities with additional imports, device compatibility checks, optimizer state updates, and training enhancements. Introduced new methods like `optimizer_to` for transferring optimizer state to a specified device, `reset_optimizer_weights` to clear optimizer states, and `make_image_tensor` for converting outputs to image tensors. Also, improved the training process with device compatibility checks, optimizer updates, and the ability to save and load models during training for efficiency.

2. `server_endpoints.py`: Modified server endpoints for improved git integration and user management. Adjustments include dynamic handling of different git repositories, refined branch and user management in GitIO class, and the integration of user-specific git settings in user management functions.

3. `config.yaml`: Added new configurations for temporary directory and git repositories, providing more flexibility and control over file management and version control integration.

4. `torchvision_nodes.py`: Introduced a new file to integrate torchvision functionalities. It includes classes for transform composition, application of torchvision transforms, and handling of torchvision-specific data structures.

5. `hf_diffusers_nodes.py`: Integrated Hugging Face's diffusers library with new nodes for loading and utilizing DDPMPipelines, handling tensor to image conversions, and managing datasets from the Hugging Face ecosystem.

6. `image.py`, `video.py`, `functional.py`: Refactored and enhanced existing functionalities. Included minor tweaks and bug fixes to improve the overall efficiency and robustness of image and video processing capabilities.

7. `requirements.txt`: Updated dependencies, replacing `fastnoisesimd` with `diffusers` to align with the newly integrated Hugging Face diffusers functionalities.

8. `config.py`: Improved the configuration file loading mechanism with dynamic path handling and the ability to replace placeholders with actual paths, enhancing the flexibility of configuration management.

This comprehensive update significantly enhances the project's capabilities in machine learning, especially in PyTorch and torchvision, and improves server endpoint functionalities for better user and version control management.
2023-12-27 13:22:48 -05:00
Tasha Upchurch a49d2986e5 added simd optimized fractal noise node. 2023-12-12 22:37:22 -05:00