feat: update button sizes and styles for improved UI consistency in Audiobook and button components

This commit is contained in:
2026-03-12 18:33:44 +08:00
parent afb6830a6d
commit fa54208b96
3 changed files with 50 additions and 36 deletions

View File

@@ -457,7 +457,7 @@ class IndexTTS2Backend:
vec = [0.0] * 8
score = 0.8 if len(matched) == 1 else 0.5
for idx in matched:
vec[idx] = score
vec[idx] = 0.2 if idx == 1 else score
return vec
async def generate(