Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def check_ram_usage(threshold_percent=90):
|
|
28 |
def main() -> None:
|
29 |
# Load data once at startup using the function from vis_st4rtrack.py
|
30 |
global global_data_cache
|
31 |
-
global_data_cache = load_trajectory_data(use_float16=True, max_frames=69, traj_path="480p_train", mask_folder="train")
|
32 |
|
33 |
app = fastapi.FastAPI()
|
34 |
viser_manager = ViserProxyManager(app)
|
|
|
28 |
def main() -> None:
|
29 |
# Load data once at startup using the function from vis_st4rtrack.py
|
30 |
global global_data_cache
|
31 |
+
global_data_cache = load_trajectory_data(use_float16=True, max_frames=69, traj_path="480p_train", mask_folder="train", conf_thre_percentile=3)
|
32 |
|
33 |
app = fastapi.FastAPI()
|
34 |
viser_manager = ViserProxyManager(app)
|