Spaces:
Running
on
Zero
Running
on
Zero
Update src/gradio_pipeline_stf.py
Browse files
src/gradio_pipeline_stf.py
CHANGED
@@ -59,7 +59,7 @@ class GradioPipeline(LivePortraitPipeline):
|
|
59 |
#return video_path, video_path_concat,
|
60 |
|
61 |
|
62 |
-
|
63 |
merged_video_path = video_path[:-3]+"_audio.mp4"
|
64 |
merge_audio_video(video_path, audio_path, merged_video_path)
|
65 |
video_path = merged_video_path
|
|
|
59 |
#return video_path, video_path_concat,
|
60 |
|
61 |
|
62 |
+
if audio_path is not None:
|
63 |
merged_video_path = video_path[:-3]+"_audio.mp4"
|
64 |
merge_audio_video(video_path, audio_path, merged_video_path)
|
65 |
video_path = merged_video_path
|