fix: image prompt gen template

This commit is contained in:
Timothy Jaeryang Baek committed 2025-01-31 23:50:58 -08:00
1 parent af10f87075
commit 3502e09d9f
1 file changed
+4
+4
View File
@@ -90,6 +90,10 @@ async def update_task_config(
form_data.TITLE_GENERATION_PROMPT_TEMPLATE
)
request.app.state.config.IMAGE_PROMPT_GENERATION_PROMPT_TEMPLATE = (
form_data.IMAGE_PROMPT_GENERATION_PROMPT_TEMPLATE
)
request.app.state.config.ENABLE_AUTOCOMPLETE_GENERATION = (
form_data.ENABLE_AUTOCOMPLETE_GENERATION
)