Xycuno-Oobabooga

Xycuno-Oobabooga
★ 4

ComfyUI扩展文本生成Oobabooga集成自定义节点
为ComfyUI提供向Oobabooga(text-generation-webui)实例发送请求的自定义节点,辅助生成与优化提示词,便于在工作流中集成文本生成功能(处于初期开发)。
💡 在ComfyUI流程中调用Oobabooga生成或优化提示词
🍴 3 Forks💻 Python🔄 2024-05-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9671236b7e59
📄 README

Xycuno Oobabooga

:warning: These custom nodes are under initial development and may be

substantially changed between updates.

Xycuno Oobabooga provides custom nodes for

ComfyUI, for sending requests to

an Oobabooga instance to

assist in creating prompt texts.

Installation

git clone

  • cd to the custom_nodes directory of your ComfyUI installation
  • git clone https://github.com/Xyem/Xycuno-Oobabooga.git
  • Re/start ComfyUI
  • git submodule

    If you maintain your installation of ComfyUI as a git repository, you can use

    submodules for custom nodes. This is the node author’s preference of

    installation/management.

  • cd to the custom_nodes directory of your ComfyUI installation
  • git submodule add -f https://github.com/Xyem/Xycuno-Oobabooga.git xycuno_oobabooga
  • git add ../.gitmodules
  • git add xycuno_oobabooga
  • git commit -m "Add Xycuno Oobabooga custom nodes"
  • This can then be updated:

  • cd to the custom_nodes directory of your ComfyUI installation
  • git submodule update --remote xycuno_oobabooga
  • git add ../.gitmodules
  • git commit -m "Update Xycuno Oobabooga custom nodes"
  • Nodes

    Oobabooga

    This node is for having Oobabooga complete the rest of the provided text.

    Inputs

    control_after_generate

    Sets the behaviour of changes to seed, if any, when the workflow has been

    generated. Automatically added by ComfyUI itself, defaults to randomize.

    host

    Address of the Oobabooga API, defaults to http://127.0.0.1:5000.

    max_tokens

    Maximum number of tokens to be used to complete the prompt. Defaults to 200.

    prompt

    The text to be completed. Defaults to an instruction to describe an image

    featuring the ComfyUI mascot.

    seed

    Seed to be used. Defaults to 0.

    temperature

    Defaults to 1.0.

    top_p

    Defaults to 0.9.

    Outputs

    response

    The text returned by Oobabooga, not including prompt.