Spaces:
Configuration error
Configuration error
Update app.py
Browse filesset zero gpu quota limit to 120s
app.py
CHANGED
|
@@ -298,7 +298,7 @@ def ensure_correlation_extension_installed():
|
|
| 298 |
pass
|
| 299 |
|
| 300 |
# ----------------- GRADIO HANDLER -----------------
|
| 301 |
-
@spaces.GPU(duration=
|
| 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,
|