web bug fix

This commit is contained in:
yhjun1026 2023-07-24 16:02:46 +08:00
parent c973c9e644
commit 9ac402e55a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -51,6 +51,6 @@ prompt = PromptTemplate(
sep=PROMPT_SEP, is_stream_out=PROMPT_NEED_NEED_STREAM_OUT
),
)
CFG.prompt_templates.update({prompt.template_scene: prompt})
CFG.prompt_template_registry.register(prompt, is_default=True)