Skip to content

Commit

Permalink
修复标签的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Anning01 committed Aug 25, 2023
1 parent b573fbb commit fd586c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/PromptWords/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def failover(self, instance_class_list, index, value, tags_list, prompt_dict):
"negative": negative,
}

async def tag_handle(self, text: str, tag_list: list):
def tag_handle(self, text: str, tag_list: list):
"""
用于处理用户的标签
:return:
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# API2D 的配置 防止 fastapi 出错 # 和fastapi 选一个就行
ForwardKey = os.getenv("ForwardKey") or ""
openAPI_KEY = os.getenv("openAPI_KEY") or "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"
openAPI_KEY = os.getenv("openAPI_KEY") or "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"

# Stable Diffusion 启动路径配置 默认
sd_url = os.getenv("sd_url") or "http://127.0.0.1:7860/sdapi/v1/txt2img"
Expand Down

0 comments on commit fd586c8

Please sign in to comment.