Skip to content

Commit

Permalink
add enhance audio quality option
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed Oct 9, 2024
1 parent 142c47e commit 1ff3de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fish_audio_sdk/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def create_model(
voices: list[bytes],
texts: list[str] | None = None,
tags: list[str] | None = None,
enhance_audio_quality: bool = True,
) -> G[ModelEntity]:
if texts is None:
texts = []
Expand All @@ -116,6 +117,7 @@ def create_model(
"train_mode": train_mode,
"texts": texts,
"tags": tags,
"enhance_audio_quality": enhance_audio_quality,
}
),
files=files,
Expand Down

0 comments on commit 1ff3de0

Please sign in to comment.