mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
Ok fixed the build now working on job running.
This commit is contained in:
1 parent
9e3a3b79f9
commit
c6eefc41ec
2 files changed
+2
-3
No files matched your search
@@ -4,7 +4,6 @@ pub struct TTSArgs {
|
||||
#[serde(rename = "t")]
|
||||
pub text: String,
|
||||
#[serde(rename = "e")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub voice_token: String // varchar 32
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -128,8 +128,8 @@ let ip_address = get_request_ip(&http_request);
|
||||
|
||||
// package as larger component args should always have an embedding token ..
|
||||
let inference_args = TTSArgs {
|
||||
text: request.text,
|
||||
voice_token: request.embedding_token
|
||||
text: request.text.clone(),
|
||||
voice_token: request.embedding_token.clone()
|
||||
};
|
||||
|
||||
// create the inference args here
|
||||
|
||||
Reference in new issue
Block a user