Files
AlekPet-ComfyUI_Custom_Node…/IDENode
AlekPet 4caecf80ce update ChatGMLNode, IDENode
- Fix ChatGMLNode encoding json open
- Update IDENode, correct color and input fields
- In readme IDENode add workflow user AI translate OPUS-MT models and
images.
- Update main readme
- Update veriosn
2025-05-17 20:52:04 +03:00
..
2025-05-17 20:52:04 +03:00
2025-05-17 20:52:04 +03:00

IDE Node

Screenshot IDE Node

IDE Node is an experimental node that allows you to run code written in Python or Javascript directly in the node, it is also possible to receive input data, which is stored in variables, process and output the result.

Changelog:

  • 2024.08.28: Implemented add output variables and types

Features:

  • Selecting a syntax highlighting theme
  • Choosing a programming language

Note:

The result variable is used for output The F1 key in the editor brings up additional settings (Default-Keyboard-Shortcuts)

IDE Node workflows

Translate code

The OPUS-MT model is used (https://github.com/Helsinki-NLP/Opus-MT), but others can be used if you adjust the code.

To use, you need to select the required model for your language, here https://huggingface.co/Helsinki-NLP?sort_models=downloads#models (I use "Helsinki-NLP/opus-mt-ru-en", you can change the abbreviations at the end to your own)

Simple example: Screenshot IDE Node Translate OPUS-MT Simple

Workflow example: Screenshot IDE Node Translate OPUS-MT Workflow

Workflow link: Workflow ai_translate_opus-mt_idenode_workflow.json