job process wip

This commit is contained in:
Michael Chung committed 2023-10-06 09:49:09 -04:00
1 parent 195a2eeb9c
commit 9e3a3b79f9
1 file changed
+15 -3
@@ -48,7 +48,7 @@ pub struct VALLEXProcessJobArgs<'a> {
// Need to download the models
info!("Download models (if not present)...");
let mut i : usize = 0;
for downloader in deps.job_type_details.sad_talker.downloaders.all_downloaders() {
for downloader in deps.job_type_details.vall_e_x.downloaders.all_downloaders() {
// Temporary debugging
info!("Downloader {}", i);
@@ -65,9 +65,21 @@ pub struct VALLEXProcessJobArgs<'a> {
}
}
// Download embeddings
// Download embeddings files
//
// rinr inference
// ==================== TEMP DIR ==================== //
// create a temp dir
// run inference
// upload audio to bucket
// deletetemp dir files
// save result ?
}