jhj0517
commited on
Commit
·
61ca76c
1
Parent(s):
b1739bc
Visibility to false for meaningless params for now
Browse files
modules/live_portrait/live_portrait_inferencer.py
CHANGED
|
@@ -280,6 +280,7 @@ class LivePortraitInferencer:
|
|
| 280 |
else:
|
| 281 |
self.psi_list = self.prepare_source(src_image, crop_factor)
|
| 282 |
|
|
|
|
| 283 |
driving_images, vid_sound = extract_frames(driving_vid_path, os.path.join(self.output_dir, "temp", "video_frames")), extract_sound(driving_vid_path)
|
| 284 |
driving_length = 0
|
| 285 |
if driving_images is not None:
|
|
|
|
| 280 |
else:
|
| 281 |
self.psi_list = self.prepare_source(src_image, crop_factor)
|
| 282 |
|
| 283 |
+
progress(0, desc="Extracting frames from the video..")
|
| 284 |
driving_images, vid_sound = extract_frames(driving_vid_path, os.path.join(self.output_dir, "temp", "video_frames")), extract_sound(driving_vid_path)
|
| 285 |
driving_length = 0
|
| 286 |
if driving_images is not None:
|