Update engineers/deformes4D.py
Browse files- engineers/deformes4D.py +4 -4
engineers/deformes4D.py
CHANGED
|
@@ -29,8 +29,8 @@ from managers.ltx_manager import ltx_manager_singleton
|
|
| 29 |
from managers.latent_enhancer_manager import latent_enhancer_specialist_singleton
|
| 30 |
from managers.vae_manager import vae_manager_singleton
|
| 31 |
from managers.gemini_manager import gemini_manager_singleton
|
| 32 |
-
from managers.
|
| 33 |
-
from managers.
|
| 34 |
from tools.video_encode_tool import video_encode_tool_singleton
|
| 35 |
|
| 36 |
logger = logging.getLogger(__name__)
|
|
@@ -260,7 +260,7 @@ class Deformes4DEngine:
|
|
| 260 |
run_timestamp = int(time.time())
|
| 261 |
output_path = os.path.join(self.workspace_dir, f"hd_mastered_movie_{model_version}_{run_timestamp}.mp4")
|
| 262 |
try:
|
| 263 |
-
final_path =
|
| 264 |
input_video_path=source_video_path,
|
| 265 |
output_video_path=output_path,
|
| 266 |
prompt=prompt,
|
|
@@ -287,7 +287,7 @@ class Deformes4DEngine:
|
|
| 287 |
duration = float(result.stdout.strip())
|
| 288 |
logger.info(f"Source video duration: {duration:.2f} seconds.")
|
| 289 |
progress(0.5, desc="Generating audio track...")
|
| 290 |
-
final_path =
|
| 291 |
video_path=source_video_path,
|
| 292 |
prompt=audio_prompt,
|
| 293 |
duration_seconds=duration,
|
|
|
|
| 29 |
from managers.latent_enhancer_manager import latent_enhancer_specialist_singleton
|
| 30 |
from managers.vae_manager import vae_manager_singleton
|
| 31 |
from managers.gemini_manager import gemini_manager_singleton
|
| 32 |
+
from managers.seedvr_manager import seedvr_manager_singleton
|
| 33 |
+
from managers.mmaudio_manager import mmaudio_manager_singleton
|
| 34 |
from tools.video_encode_tool import video_encode_tool_singleton
|
| 35 |
|
| 36 |
logger = logging.getLogger(__name__)
|
|
|
|
| 260 |
run_timestamp = int(time.time())
|
| 261 |
output_path = os.path.join(self.workspace_dir, f"hd_mastered_movie_{model_version}_{run_timestamp}.mp4")
|
| 262 |
try:
|
| 263 |
+
final_path = seedvr_manager_singleton.process_video(
|
| 264 |
input_video_path=source_video_path,
|
| 265 |
output_video_path=output_path,
|
| 266 |
prompt=prompt,
|
|
|
|
| 287 |
duration = float(result.stdout.strip())
|
| 288 |
logger.info(f"Source video duration: {duration:.2f} seconds.")
|
| 289 |
progress(0.5, desc="Generating audio track...")
|
| 290 |
+
final_path = mmaudio_manager_singleton.generate_audio_for_video(
|
| 291 |
video_path=source_video_path,
|
| 292 |
prompt=audio_prompt,
|
| 293 |
duration_seconds=duration,
|