Claude commited on
Commit ·
909ad4b
1
Parent(s): 3f78947
Lower GPU duration 90s→30s (SAM3 single-image is fast, saves quota)
Browse files
app.py
CHANGED
|
@@ -172,7 +172,7 @@ def decorator_gpu(duration: int = 60):
|
|
| 172 |
# ═══════════════════════════════════════════════════════════
|
| 173 |
# 主推理函数
|
| 174 |
# ═══════════════════════════════════════════════════════════
|
| 175 |
-
@decorator_gpu(duration=
|
| 176 |
def run_sam3(
|
| 177 |
image: Image.Image,
|
| 178 |
prompt: str,
|
|
|
|
| 172 |
# ═══════════════════════════════════════════════════════════
|
| 173 |
# 主推理函数
|
| 174 |
# ═══════════════════════════════════════════════════════════
|
| 175 |
+
@decorator_gpu(duration=30)
|
| 176 |
def run_sam3(
|
| 177 |
image: Image.Image,
|
| 178 |
prompt: str,
|