fix: save watermark_text in update_api_config
This commit is contained in:
@@ -73,6 +73,7 @@ def update_api_config():
|
||||
"model": data.get("model", "doubao-seed-2.0-pro"),
|
||||
"temperature": float(data.get("temperature", 0.7)),
|
||||
"prompt_template": data.get("prompt_template", ""),
|
||||
"watermark_text": data.get("watermark_text", ""),
|
||||
}
|
||||
|
||||
save_api_config(config, current_app.config)
|
||||
|
||||
Reference in New Issue
Block a user