mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 21:32:18 +00:00
Have to pull master for the lastest seed changes
This commit is contained in:
1 parent
e23369761b
commit
dda05ba22c
3 files changed
+14
-4
No files matched your search
@@ -21,7 +21,8 @@ use crate::job::job_loop::process_single_job_error::ProcessSingleJobError;
|
||||
|
||||
//use crate::job::job_types::lipsync::sad_talker::download_audio_file::download_audio_file;
|
||||
//use crate::job::job_types::lipsync::sad_talker::sad_talker_inference_command::InferenceArgs;
|
||||
//use crate::job::job_types::lipsync::sad_talker::validate_job::validate_job;
|
||||
|
||||
use crate::job::job_types::tts::vall_e_x::validate_job::validate_job;
|
||||
|
||||
use crate::job_dependencies::JobDependencies;
|
||||
|
||||
@@ -41,13 +42,14 @@ pub struct VALLEXProcessJobArgs<'a> {
|
||||
.new_generic_inference(job.inference_job_token.as_str())
|
||||
.map_err(|e| ProcessSingleJobError::Other(anyhow!(e)))?;
|
||||
|
||||
// validate the inputs on the job
|
||||
let job_args = validate_job(job)?;
|
||||
// validate the inputs on the job shouldn't this happen at json
|
||||
//let job_args = validate_job(job)?;
|
||||
|
||||
|
||||
// Need to download the models
|
||||
info!("Download models (if not present)...");
|
||||
let mut i : usize = 0;
|
||||
|
||||
for downloader in deps.job_type_details.vall_e_x.downloaders.all_downloaders() {
|
||||
|
||||
// Temporary debugging
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
use mysql_queries::queries::generic_inference::job::list_available_generic_inference_jobs::AvailableInferenceJob;
|
||||
|
||||
use crate::job::{job_types::lipsync::sad_talker::validate_job::JobArgs, job_loop::process_single_job_error::ProcessSingleJobError};
|
||||
|
||||
|
||||
|
||||
pub fn validate_job(job: &AvailableInferenceJob) -> Result<JobArgs,ProcessSingleJobError> {
|
||||
|
||||
}
|
||||
-1
@@ -26,7 +26,6 @@ use std::fmt::Debug;
|
||||
use serde::Deserialize;
|
||||
use serde::Serialize;
|
||||
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct EnqueueTTSRequest {
|
||||
uuid_idempotency_token: String,
|
||||
|
||||
Reference in new issue
Block a user