From cfc1f4263edf2a2ef8ee9511bf21ae442ee9255f Mon Sep 17 00:00:00 2001 From: alpertunga-bile <76731692+alpertunga-bile@users.noreply.github.com> Date: Tue, 18 Jul 2023 13:01:38 +0300 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e859fc3..81bf55d 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,18 @@ Custom prompt generator node for ComfyUI # Example Workflow ![example_workflow](https://github.com/alpertunga-bile/prompt-generator-comfyui/assets/76731692/f50652a9-8751-41f3-81cf-d4cb61dd8a34) +- **Prompt Generator Node** may look different with final version but workflow is not going to change # Variables -- You can get info about variables from [this](https://happytransformer.com/text-generation/) and [this](https://happytransformer.com/text-generation/settings/) links +- For ```model_type``` variable copy and paste the model's name from [this site](https://huggingface.co/models?pipeline_tag=text-generation) like this ```tiiuae/falcon-40b``` +- You can get information about variables from [this](https://happytransformer.com/text-generation/settings/) link ## How Recursive Works? - Let's say we give ```a, ``` as seed and recursive level is 1. I am going to use the same outputs for this example to understand the functionality more accurately. - With self recursive, let's say generator's output is ```b```. So next seed is going to be ```b``` and generator's output is ```c```. Final output is ```a, c```. It can be used for generating random outputs. - Without self recursive, let's say generator's output is ```b```. So next seed is going to be ```a, b``` and generator's output is ```a, b, c```. Final output is ```a, b, c```. It can be used for more accurate prompts. + +## How Preprocess Mode Works? +- **exact_keyword** => ```(masterpiece), ((masterpiece))``` is not allowed. Parantheses are removed an looking for the keyword. First prompt is added to final prompt so add important prompts to seed. +- **exact_prompt** => ```(masterpiece), ((masterpiece))``` is allowed but ```(masterpiece), (masterpiece)``` is not. Looking for the exact match of the prompt. +- **none** => Everything is allowed even the repeated prompts.