Skip to content

Commit

Permalink
Merge pull request zhayujie#1993 from 6vision/fix_linkai_pconf
Browse files Browse the repository at this point in the history
fix: linkai plugin config_template
  • Loading branch information
zhayujie authored May 16, 2024
2 parents b09b46c + 48cc143 commit e24f177
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/linkai/linkai.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from common import const
import os
from .utils import Util
from config import plugin_config


@plugins.register(
Expand Down Expand Up @@ -253,6 +254,7 @@ def _load_config_template(self):
plugin_conf = json.load(f)
plugin_conf["midjourney"]["enabled"] = False
plugin_conf["summary"]["enabled"] = False
plugin_config["linkai"] = plugin_conf
return plugin_conf
except Exception as e:
logger.exception(e)
Expand Down

0 comments on commit e24f177

Please sign in to comment.