mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
fix python bug (#1346)
This commit is contained in:
parent
44a1b2b8b3
commit
ac4ada9175
4
api.py
4
api.py
@ -780,8 +780,8 @@ async def tts_endpoint(request: Request):
|
|||||||
json_post_raw.get("text_language"),
|
json_post_raw.get("text_language"),
|
||||||
json_post_raw.get("cut_punc"),
|
json_post_raw.get("cut_punc"),
|
||||||
json_post_raw.get("top_k", 10),
|
json_post_raw.get("top_k", 10),
|
||||||
json_post_raw.get("top_p" 1.0),
|
json_post_raw.get("top_p", 1.0),
|
||||||
json_post_raw.get("temperature" 1.0),
|
json_post_raw.get("temperature", 1.0),
|
||||||
json_post_raw.get("speed", 1.0)
|
json_post_raw.get("speed", 1.0)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user