From 429d27c3f3c8973180a7fd323c509320cacd3b19 Mon Sep 17 00:00:00 2001 From: hp0912 <809211365@qq.com> Date: Sun, 5 Apr 2026 00:56:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E8=AF=95=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- .vscode/launch.json | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index ed8ebf5..b0f2192 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +.venv \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8a5b22f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "text-to-image", + "type": "debugpy", + "request": "launch", + "program": "skills/text-to-image/scripts/text_to_image.py", + "console": "integratedTerminal", + "justMyCode": true, + "args": [ + "{\"prompt\":\"一只站在雨夜街头的白猫\",\"model\":\"jimeng-5.0\",\"negative_prompt\":\"模糊, 低清\",\"ratio\":\"16:9\",\"resolution\":\"2k\"}" + ], + "env": { + "ROBOT_FROM_WX_ID": "57004904192@chatroom", + "ROBOT_CODE": "houhouipad", + "MYSQL_HOST": "127.0.0.1", + "MYSQL_PORT": "3306", + "MYSQL_USER": "root", + "MYSQL_PASSWORD": "houhou" + } + } + ] +} \ No newline at end of file