Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
app.py
CHANGED
@@ -102,8 +102,8 @@ def generate_video(source_image, driven_audio, preprocess='crop', still_mode=Fal
|
|
102 |
ref_eyeblink_coeff_path = ref_video_coeff_path
|
103 |
elif ref_info == 'pose+blink':
|
104 |
ref_pose_coeff_path = ref_eyeblink_coeff_path = ref_video_coeff_path
|
105 |
-
|
106 |
-
|
107 |
|
108 |
# Generate coefficients from audio or reference video
|
109 |
if use_ref_video and ref_info == 'all':
|
|
|
102 |
ref_eyeblink_coeff_path = ref_video_coeff_path
|
103 |
elif ref_info == 'pose+blink':
|
104 |
ref_pose_coeff_path = ref_eyeblink_coeff_path = ref_video_coeff_path
|
105 |
+
else:
|
106 |
+
ref_pose_coeff_path = ref_eyeblink_coeff_path = None
|
107 |
|
108 |
# Generate coefficients from audio or reference video
|
109 |
if use_ref_video and ref_info == 'all':
|