Spaces:
Running
on
Zero
Running
on
Zero
add more time for diffusion
Browse files
app.py
CHANGED
@@ -314,7 +314,7 @@ def generate_tracking_cotracker(video_tensor, density=30):
|
|
314 |
# 将结果返回
|
315 |
return pred_tracks_with_depth.squeeze(0), pred_visibility.squeeze(0)
|
316 |
|
317 |
-
@spaces.GPU(duration=
|
318 |
def apply_tracking_unified(video_tensor, tracking_tensor, repaint_img_tensor, prompt, fps):
|
319 |
"""统一的应用跟踪函数"""
|
320 |
print("--- Entering apply_tracking_unified ---") # 添加打印语句
|
|
|
314 |
# 将结果返回
|
315 |
return pred_tracks_with_depth.squeeze(0), pred_visibility.squeeze(0)
|
316 |
|
317 |
+
@spaces.GPU(duration=280)
|
318 |
def apply_tracking_unified(video_tensor, tracking_tensor, repaint_img_tensor, prompt, fps):
|
319 |
"""统一的应用跟踪函数"""
|
320 |
print("--- Entering apply_tracking_unified ---") # 添加打印语句
|