mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
uploading image template processed faces works!
This commit is contained in:
1 parent
6a07f5f91d
commit
46b613fef2
3 files changed
+5
-3
No files matched your search
@@ -135,7 +135,9 @@ SET
|
||||
original_download_url = ?,
|
||||
private_bucket_hash = ?,
|
||||
private_bucket_object_name = ?,
|
||||
private_bucket_cached_faces_object_name = ?
|
||||
private_bucket_cached_faces_object_name = ?,
|
||||
public_bucket_hash = 'TODO',
|
||||
public_bucket_object_name = 'TODO'
|
||||
"#,
|
||||
model_token,
|
||||
template_type,
|
||||
|
||||
@@ -46,7 +46,7 @@ impl Wav2LipPreprocessClient {
|
||||
command.push_str(&self.checkpoint_path);
|
||||
command.push_str(" --image_or_video_filename ");
|
||||
command.push_str(image_or_video_filename);
|
||||
command.push_str(" --output_cached_faces_filename");
|
||||
command.push_str(" --output_cached_faces_filename ");
|
||||
command.push_str(output_cached_faces_filename);
|
||||
|
||||
if is_image {
|
||||
|
||||
@@ -241,7 +241,7 @@ async fn process_job(downloader: &Downloader, job: &W2lTemplateUploadJobRecord)
|
||||
|
||||
let cached_faces_filename = format!("{}_detected_faces.pickle", &download_filename);
|
||||
let is_image = false; // TODO: Don't always treat as video.
|
||||
let spawn_process = true;
|
||||
let spawn_process = false;
|
||||
|
||||
downloader.w2l_processor.execute(
|
||||
&download_filename,
|
||||
|
||||
Reference in new issue
Block a user