yyang181 commited on
Commit
2da3e7c
·
verified ·
1 Parent(s): ad6add2

Update app.py

Browse files

set zero gpu quota limit to 120s

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -298,7 +298,7 @@ def ensure_correlation_extension_installed():
298
  pass
299
 
300
  # ----------------- GRADIO HANDLER -----------------
301
- @spaces.GPU(duration=600) # 确保 CUDA 初始化在此函数体内
302
  def gradio_infer(
303
  debug_shapes,
304
  bw_video, ref_image,
 
298
  pass
299
 
300
  # ----------------- GRADIO HANDLER -----------------
301
+ @spaces.GPU(duration=120) # 确保 CUDA 初始化在此函数体内
302
  def gradio_infer(
303
  debug_shapes,
304
  bw_video, ref_image,