diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/ComfyUI_Text_Translation_zh_CN.iml b/.idea/ComfyUI_Text_Translation_zh_CN.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/ComfyUI_Text_Translation_zh_CN.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..b16dfe6
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..b2b6c89
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 0a085fe..1f8ae4b 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,10 @@
## 效果如下
+### 在 [StableSwarmUI](https://github.com/Stability-AI/StableSwarmUI) 中使用 ComfyUI 作为后端的效果如下:
+
+
+
## 说明
- 该节点采用了[腾讯翻译API](https://cloud.tencent.com/product/tmt)进行文本翻译。
- 可能会许多人需要使用这种类型的节点,但我目前尚未找到相关的开放资源,所以把这个分享给大家。
@@ -111,7 +115,17 @@
所有的步骤都操作完啦,可以愉快的创作呦!
-### 3、其他
+### 4、更新日志
+2023-8-27
+
+ 去除“翻译开关”的默认值,以便适配 [StableSwarmUI](https://github.com/Stability-AI/StableSwarmUI)
+
+2023-8-22
+
+ 初始提交,节点采用了[腾讯翻译API](https://cloud.tencent.com/product/tmt)进行文本翻译。
+
+
+### 5、其他
我对比了阿里、百度、有道、腾讯这些翻译API,其中腾讯每月免费可用的量是最大的,所以选择用它。
至于为什么没有选择免费的API,只是觉得这些API稳定性稍差,便没有考虑。
diff --git a/images/image1.png b/images/image1.png
index a614697..af6e780 100644
Binary files a/images/image1.png and b/images/image1.png differ
diff --git a/images/image10.png b/images/image10.png
index 7e16177..269da54 100644
Binary files a/images/image10.png and b/images/image10.png differ
diff --git a/images/image11.png b/images/image11.png
new file mode 100644
index 0000000..cdcce7c
Binary files /dev/null and b/images/image11.png differ
diff --git a/images/image2.png b/images/image2.png
index 175cb62..50ec76c 100644
Binary files a/images/image2.png and b/images/image2.png differ
diff --git a/images/image3.png b/images/image3.png
index 6bb86b6..b5eea8c 100644
Binary files a/images/image3.png and b/images/image3.png differ
diff --git a/images/image4.png b/images/image4.png
index 0d7184a..bf4d1eb 100644
Binary files a/images/image4.png and b/images/image4.png differ
diff --git a/images/image5.png b/images/image5.png
index 1291500..f9dfa80 100644
Binary files a/images/image5.png and b/images/image5.png differ
diff --git a/images/image6.png b/images/image6.png
index 8a3113c..28fd1f0 100644
Binary files a/images/image6.png and b/images/image6.png differ
diff --git a/images/image7.png b/images/image7.png
index 0e5c740..52e319a 100644
Binary files a/images/image7.png and b/images/image7.png differ
diff --git a/images/image8.png b/images/image8.png
index 15ba31d..708f656 100644
Binary files a/images/image8.png and b/images/image8.png differ
diff --git a/images/image9.png b/images/image9.png
index 0aef3f0..3da8873 100644
Binary files a/images/image9.png and b/images/image9.png differ
diff --git a/node/tencent_translation.py b/node/tencent_translation.py
index 752b64a..2dd6df0 100644
--- a/node/tencent_translation.py
+++ b/node/tencent_translation.py
@@ -64,7 +64,7 @@ class TencentTextTranslation:
"required": {
"text_trans": ("STRING", {"multiline": True}),
"text_normal": ("STRING", {"multiline": True}),
- "trans_switch": (["enabled", "disabled"], {"default": "enabled"}),
+ "trans_switch": (["enabled", "disabled"], ),
},
}