This commit is contained in:
Masato Kikuchi
2025-03-31 23:39:44 +09:00
parent 01541ff381
commit 103eb51ca8
2 changed files with 2 additions and 3 deletions

View File

@@ -113,7 +113,6 @@ pub fn parse_text_blocking(
if let Some(given_tones) = given_tones {
tones = given_tones;
}
println!("tones: {:?}", tones);
let (phones, tones, lang_ids) = nlp::cleaned_text_to_sequence(phones, tones);
let phones = utils::intersperse(&phones, 0);

View File

@@ -2,12 +2,12 @@ import requests
data = (requests.get("http://localhost:8080/audio_query", params={
"text": "こんにちは",
"text": "こんにちは、今日はいい天気ですね。",
})).json()
print(data)
data = (requests.post("http://localhost:8080/synthesis", json={
"text": "こんにちは",
"text": data["text"],
"ident": "tsukuyomi",
"speaker_id": 0,
"style_id": 0,