From 9aeb60f66d9daaf1478c7dce8670e8d57bd196e5 Mon Sep 17 00:00:00 2001 From: lanvent Date: Fri, 7 Apr 2023 15:15:40 +0800 Subject: [PATCH] feat: add replicate to source.json --- plugins/plugin_manager.py | 2 +- plugins/source.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/plugin_manager.py b/plugins/plugin_manager.py index 89eb996..460ecec 100644 --- a/plugins/plugin_manager.py +++ b/plugins/plugin_manager.py @@ -238,7 +238,7 @@ class PluginManager: if os.path.exists(os.path.join(dirname,"requirements.txt")): logger.info("detect requirements.txt,installing...") pkgmgr.install_requirements(os.path.join(dirname,"requirements.txt")) - return True, "安装插件成功,请使用 #scanp 命令扫描插件或重启程序" + return True, "安装插件成功,请使用 #scanp 命令扫描插件或重启程序,开启前请检查插件是否需要配置" except Exception as e: logger.error("Failed to install plugin, {}".format(e)) return False, "安装插件失败,"+str(e) diff --git a/plugins/source.json b/plugins/source.json index a5f9294..8f64f94 100644 --- a/plugins/source.json +++ b/plugins/source.json @@ -3,6 +3,10 @@ "sdwebui": { "url": "https://github.com/lanvent/plugin_sdwebui.git", "desc": "利用stable-diffusion画图的插件" + }, + "replicate": { + "url": "https://github.com/lanvent/plugin_replicate.git", + "desc": "利用replicate api画图的插件" } } } \ No newline at end of file