edit image

This commit is contained in:
qingxu fu
2023-11-26 00:24:51 +08:00
parent 5b06a6cae5
commit aee57364dd
2 changed files with 45 additions and 15 deletions

View File

@@ -354,7 +354,7 @@ def get_crazy_functions():
print('Load function plugin failed')
try:
from crazy_functions.图片生成 import 图片生成_DALLE2, 图片生成_DALLE3
from crazy_functions.图片生成 import 图片生成_DALLE2, 图片生成_DALLE3, 图片修改_DALLE2
function_plugins.update({
"图片生成_DALLE2 先切换模型到openai或api2d": {
"Group": "对话",
@@ -377,6 +377,16 @@ def get_crazy_functions():
"Function": HotReload(图片生成_DALLE3)
},
})
# function_plugins.update({
# "图片修改_DALLE2 先切换模型到openai或api2d": {
# "Group": "对话",
# "Color": "stop",
# "AsButton": True,
# "AdvancedArgs": False, # 调用时唤起高级参数输入区默认False
# # "Info": "使用DALLE2修改图片 | 输入参数字符串,提供图像的内容",
# "Function": HotReload(图片修改_DALLE2)
# },
# })
except:
print(trimmed_format_exc())
print('Load function plugin failed')