Fix DeepTranslator hide fields proxy, auth DeepTranslator config.json add property hide_keys, if true, auth_data not visible in the field. Fix Speech and Recognration
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# Deep Translator nodes for ComfyUI
|
|
|
|
Custom nodes for ComfyUI, translate promt from other languages into english
|
|
|
|
> Includes:
|
|
> **DeepTranslatorCLIPTextEncodeNode** - translate text, and return CONDITIONING
|
|
>
|
|
> **DeepTranslatorTextNode** - translte text and return text (STRING)
|
|
|
|
## Changelog:
|
|
|
|
> 2024.02.17 - Change name nodes js and python file for correct, and fix not saved selected languages in deep_translator node.
|
|
|
|
## DeepTranslatorTextNode and DeepTranslatorCLIPTextEncodeNode
|
|
|
|
Used module **deep_translator**: https://pypi.org/project/deep-translator/
|
|
|
|
**Info nodes:**
|
|
|
|
> **The settings nodes are in the config.json file**
|
|
|
|
> You can select a service for text translation in the service field. In the description of the service there is a note asking whether **api_key** is required, if required, enter the appropriate values in the authorization field.
|
|
|
|
**Example:**
|
|
|
|
```
|
|
api_key=your_api_key
|
|
```
|
|
|
|
**Proxyes:**
|
|
|
|
> You can also specify a proxy for both http and https
|
|
|
|
**Example:**
|
|
|
|
```
|
|
https=34.195.196.27:8080
|
|
http=34.195.196.27:8080
|
|
```
|
|
|
|
## Note:
|
|
|
|
Inside `config.json` there is an option to hide your keys used for the service, the `"hide_keys": false` property, it does not display your keys in the Authorization data field.
|
|
|
|
## Image:
|
|
|
|

|