Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -288,7 +288,7 @@ def ensure_correlation_extension_installed():
|
|
| 288 |
pass
|
| 289 |
|
| 290 |
# ----------------- GRADIO HANDLER -----------------
|
| 291 |
-
@spaces.GPU(duration=
|
| 292 |
def gradio_infer(
|
| 293 |
debug_shapes,
|
| 294 |
bw_video, ref_image,
|
|
|
|
| 288 |
pass
|
| 289 |
|
| 290 |
# ----------------- GRADIO HANDLER -----------------
|
| 291 |
+
@spaces.GPU(duration=600) # 确保 CUDA 初始化在此函数体内
|
| 292 |
def gradio_infer(
|
| 293 |
debug_shapes,
|
| 294 |
bw_video, ref_image,
|