diff --git a/app/main.py b/app/main.py index de412b6..cb7d236 100644 --- a/app/main.py +++ b/app/main.py @@ -337,7 +337,7 @@ async def _launch_viewer(worker: dict, ply_path: str, port: int) -> None: f"#!/bin/bash\n" f"pkill -f 'viser_ply.py.*--port {port}' 2>/dev/null\n" f"sleep 1\n" - f"cd /home/floppyrj45/ai-video/lingbot-map\n" + f"cd {worker['lingbot_path']}\n" f"source .venv/bin/activate\n" f"exec python3 {VIEWER_SCRIPT_REMOTE} {ply_path!r} --port {port} --downsample 0\n" )