mirror of
https://github.com/neodyland/sbv2-api.git
synced 2025-12-22 15:39:58 +00:00
delete
This commit is contained in:
@@ -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);
|
||||
|
||||
4
test.py
4
test.py
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user