feat(audiobook): add gender field to audiobook character model and update related functionality

This commit is contained in:
2026-03-10 20:23:03 +08:00
parent addb152ce1
commit 2e005b0084
9 changed files with 50 additions and 8 deletions

View File

@@ -291,6 +291,7 @@ async def update_character(
char = crud.update_audiobook_character(
db, char_id,
name=data.name,
gender=data.gender,
description=data.description,
instruct=data.instruct,
voice_design_id=data.voice_design_id,