From 334a091bcfae2f94f253ccec3f739cf307cb9b97 Mon Sep 17 00:00:00 2001 From: TripleHeadedMonkey <99692883+TripleHeadedMonkey@users.noreply.github.com> Date: Thu, 14 Dec 2023 12:25:45 +0000 Subject: [PATCH] Delete ComfyUI_MileHighStyler directory --- ComfyUI_MileHighStyler/LICENSE | 21 - ComfyUI_MileHighStyler/README.md | 93 - ComfyUI_MileHighStyler/__init__.py | 3 - .../__pycache__/__init__.cpython-310.pyc | Bin 305 -> 0 bytes .../sdxl_prompt_styler.cpython-310.pyc | Bin 7246 -> 0 bytes .../data/Azazeal Styles/Aesthetic_Styles.json | 277 - .../data/Azazeal Styles/Anime_Styles.json | 247 - .../data/Azazeal Styles/Fantasy_Styles.json | 262 - .../data/Azazeal Styles/Gothic_Styles.json | 458 - .../data/Azazeal Styles/Line_Art_Styles.json | 238 - .../Azazeal Styles/Movie_Poster_Styles.json | 252 - .../data/Azazeal Styles/Punk_Styles.json | 252 - .../Azazeal Styles/Travel_Poster_Styles.json | 222 - .../data/LUTs/Modified_LUTs_100.json | 507 - .../data/adjective/adjective.json | 5492 - .../data/artist/Artists.json | 38717 -- .../data/banana_styles/bananas.json | 52 - .../data/breast_state/breast_state.json | 457 - .../data/camera/sdxl_camera_styles.json | 637 - .../data/camera_angles/camera_angles.json | 197 - .../data/clothing_state/clothing_state.json | 257 - .../data/clothing_style/clothing_style.json | 507 - .../data/composition/Composition_Styles.json | 57 - ComfyUI_MileHighStyler/data/depth/depth.json | 102 - .../data/environment/Environments.json | 57 - .../data/environment/location.json | 1392 - ComfyUI_MileHighStyler/data/face/face.json | 257 - .../data/filter/Filter_Styles.json | 57 - .../data/focal point/focal point.json | 632 - .../data/focus/Focus_Styles.json | 337 - .../data/lighting/Lighting_Styles.json | 57 - .../data/materials/materials.json | 6187 - .../data/milehigh/mile_high_styles.json | 7607 - .../data/mood/Mood_Styles.json | 57 - ComfyUI_MileHighStyler/data/nouns/nouns.json | 454827 --------------- .../data/preposition/preposition.json | 332 - .../data/subject/Subjects.json | 57 - ComfyUI_MileHighStyler/data/theme/themes.json | 57 - .../data/timeofday/ToD_Styles.json | 57 - .../data/verbing/verbing.json | 17507 - .../examples/sdxl_prompt_styler.png | Bin 1072729 -> 0 bytes .../examples/sdxl_prompt_styler_advanced.png | Bin 1007116 -> 0 bytes ComfyUI_MileHighStyler/sdxl_prompt_styler.py | 195 - ComfyUI_MileHighStyler/sdxl_styles_base.json | 7 - ComfyUI_MileHighStyler/sdxl_styles_sai.json | 87 - ComfyUI_MileHighStyler/sdxl_styles_twri.json | 447 - 46 files changed, 539520 deletions(-) delete mode 100644 ComfyUI_MileHighStyler/LICENSE delete mode 100644 ComfyUI_MileHighStyler/README.md delete mode 100644 ComfyUI_MileHighStyler/__init__.py delete mode 100644 ComfyUI_MileHighStyler/__pycache__/__init__.cpython-310.pyc delete mode 100644 ComfyUI_MileHighStyler/__pycache__/sdxl_prompt_styler.cpython-310.pyc delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Aesthetic_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Anime_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Fantasy_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Gothic_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Line_Art_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Movie_Poster_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Punk_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/Azazeal Styles/Travel_Poster_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/LUTs/Modified_LUTs_100.json delete mode 100644 ComfyUI_MileHighStyler/data/adjective/adjective.json delete mode 100644 ComfyUI_MileHighStyler/data/artist/Artists.json delete mode 100644 ComfyUI_MileHighStyler/data/banana_styles/bananas.json delete mode 100644 ComfyUI_MileHighStyler/data/breast_state/breast_state.json delete mode 100644 ComfyUI_MileHighStyler/data/camera/sdxl_camera_styles.json delete mode 100644 ComfyUI_MileHighStyler/data/camera_angles/camera_angles.json delete mode 100644 ComfyUI_MileHighStyler/data/clothing_state/clothing_state.json delete mode 100644 ComfyUI_MileHighStyler/data/clothing_style/clothing_style.json delete mode 100644 ComfyUI_MileHighStyler/data/composition/Composition_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/depth/depth.json delete mode 100644 ComfyUI_MileHighStyler/data/environment/Environments.json delete mode 100644 ComfyUI_MileHighStyler/data/environment/location.json delete mode 100644 ComfyUI_MileHighStyler/data/face/face.json delete mode 100644 ComfyUI_MileHighStyler/data/filter/Filter_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/focal point/focal point.json delete mode 100644 ComfyUI_MileHighStyler/data/focus/Focus_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/lighting/Lighting_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/materials/materials.json delete mode 100644 ComfyUI_MileHighStyler/data/milehigh/mile_high_styles.json delete mode 100644 ComfyUI_MileHighStyler/data/mood/Mood_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/nouns/nouns.json delete mode 100644 ComfyUI_MileHighStyler/data/preposition/preposition.json delete mode 100644 ComfyUI_MileHighStyler/data/subject/Subjects.json delete mode 100644 ComfyUI_MileHighStyler/data/theme/themes.json delete mode 100644 ComfyUI_MileHighStyler/data/timeofday/ToD_Styles.json delete mode 100644 ComfyUI_MileHighStyler/data/verbing/verbing.json delete mode 100644 ComfyUI_MileHighStyler/examples/sdxl_prompt_styler.png delete mode 100644 ComfyUI_MileHighStyler/examples/sdxl_prompt_styler_advanced.png delete mode 100644 ComfyUI_MileHighStyler/sdxl_prompt_styler.py delete mode 100644 ComfyUI_MileHighStyler/sdxl_styles_base.json delete mode 100644 ComfyUI_MileHighStyler/sdxl_styles_sai.json delete mode 100644 ComfyUI_MileHighStyler/sdxl_styles_twri.json diff --git a/ComfyUI_MileHighStyler/LICENSE b/ComfyUI_MileHighStyler/LICENSE deleted file mode 100644 index 81f6e9b..0000000 --- a/ComfyUI_MileHighStyler/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 twri - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/ComfyUI_MileHighStyler/README.md b/ComfyUI_MileHighStyler/README.md deleted file mode 100644 index cc1cf9a..0000000 --- a/ComfyUI_MileHighStyler/README.md +++ /dev/null @@ -1,93 +0,0 @@ -# SDXL Prompt Styler, a custom node for ComfyUI - -### SDXL Prompt Styler -![SDXL Prompt Styler Screenshot](examples/sdxl_prompt_styler.png) - -### SDXL Prompt Styler Advanced -![SDXL Prompt Styler Advanced Screenshot](examples/sdxl_prompt_styler_advanced.png) - -SDXL Prompt Styler is a node that enables you to style prompts based on predefined templates stored in multiple JSON files. The node specifically replaces a {prompt} placeholder in the 'prompt' field of each template with provided positive text. - -The node also effectively manages negative prompts. If negative text is provided, the node combines this with the 'negative_prompt' field from the template. If no negative text is supplied, the system defaults to using the 'negative_prompt' from the JSON template. This flexibility enables the creation of a diverse and specific range of negative prompts. - -## Changelog -This section details the updates and new features committed over time, organized chronologically with the most recent changes at the top. - -### Commit date (2023-08-27) - -#### New Features - -* **SDXL Prompt Styler Advanced**: New node for more elaborate workflows with lingustic and supportive terms. Selector to change the split behavior of the negative prompt. Special thanks to @WinstonWoof and @Danamir for their contributions! -* **SDXL Prompt Styler**: Minor changes to output names and printed log prompt. - -### Commit date (2023-08-11) - -#### Important Update -With the latest changes, the file structure and naming convention for style JSONs have been modified. If you've added or made changes to the `sdxl_styles.json` file in the past, follow these steps to ensure your styles remain intact: - -1. **Backup**: Before pulling the latest changes, back up your `sdxl_styles.json` to a safe location. -2. **Migration**: After updating the repository, create a new JSON file in the styles directory. Move your custom styles from the backup of `sdxl_styles.json` into this new file. -3. **Unique Style Names**: While the system now detects duplicates and appends a suffix to ensure uniqueness, it's a best practice to ensure your style names are originally unique to prevent any potential confusion. -4. **Managing Included JSON Files**: If you prefer not to load specific included JSON files, consider renaming or moving them to a different location outside of the styles directory. The system will load all JSON files present in the specified directory. - -#### New Features - -* **Loading from Multiple JSON Files:** The system can now load styles from multiple JSON files present in the specified directory, ensuring the uniqueness of style names by appending a suffix to duplicates. -* **Enhanced Error Handling:** Improved error handling for file reading, data validity, and template replacement functions. - ---- - -### Usage Example with SDXL Prompt Styler - -Template example from a JSON file: - -```json -[ - { - "name": "base", - "prompt": "{prompt}", - "negative_prompt": "" - }, - { - "name": "sai-enhance", - "prompt": "breathtaking {prompt} . award-winning, professional, highly detailed", - "negative_prompt": "ugly, deformed, noisy, blurry, distorted, grainy" - } -] -``` - -```python -style = "sai-enhance" -text_positive = "a futuristic pop up tent in a forest" -text_positive = "dark" -``` - -This will generate the following styled prompts as outputs: - -```python -text_positive_styled = "breathtaking a futuristic pop up tent in a forest . award-winning, professional, highly detailed" -text_negative_styled = "ugly, deformed, noisy, blurry, distorted, grainy, dark" -``` - -### Installation - -To install and use the SDXL Prompt Styler nodes, follow these steps: - -1. Open a terminal or command line interface. -2. Navigate to the `ComfyUI/custom_nodes/` directory. -3. Run the following command: -```git clone https://github.com/twri/sdxl_prompt_styler.git``` -4. Restart ComfyUI. - -This command clones the SDXL Prompt Styler repository into your `ComfyUI/custom_nodes/` directory. You should now be able to access and use the nodes from this repository. - -### Inputs - -* **text_positive** - text for the positive base prompt -* **text_negative** - text for the negative base prompt -* **log_prompt** - print inputs and outputs to stdout - -### Outputs - -* **text_positive** - combined prompt with style for positive promt -* **text_negative** - combined prompt with style for negative promt \ No newline at end of file diff --git a/ComfyUI_MileHighStyler/__init__.py b/ComfyUI_MileHighStyler/__init__.py deleted file mode 100644 index edb890e..0000000 --- a/ComfyUI_MileHighStyler/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .sdxl_prompt_styler import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS - -__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] diff --git a/ComfyUI_MileHighStyler/__pycache__/__init__.cpython-310.pyc b/ComfyUI_MileHighStyler/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 5eda30233c5fa561bf6e437f125827b82158f373..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 305 zcmd1j<>g`k0&lU8DHDP8V-N=!FabFZKwK;XBvKes7;_kM8KW3;nWC5&8B&;1nA4e} zm{VAS88lg6G6I!oGTjpP^LKHLclL1%4vzPA3<&V_a}T~H1r~Ji3=Z&djEwhl^mT>H z6@lz1Vg?d^nk-R5#VHjz@dZWsxdkQh#U+(FsYM6{x7g$36LWIn<5w~iv4V7gh+iSj zRx!@`xoMT5p7G_Gc`5nj#qkCCMJ0(zIjJy-nB>yplKkBGy!@2Z;uuUjbaN9k^J3!T hGxIV_;^XxSDsOSvT&Z=hw zXg!-a5tYXzRe3b7l5%;_e@GsZpE0j_@hf-_zyB$vY98Z4YMQO1rlY1g+J;oqLCe_&Xa;CG)be%#wE}8}E7?W6^gwd-&HR>hM%rM1X7+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