Spaces:
Running
on
Zero
Running
on
Zero
set default duration for ZeroGPU (no need for 120s)
#4
by
fffiloni
- opened
app.py
CHANGED
@@ -138,7 +138,7 @@ def make_preview_with_boxes(
|
|
138 |
# HELPER FUNCTION FOR INFERENCE (build a list of identical centers)
|
139 |
# ------------------------------------------------------------------
|
140 |
|
141 |
-
@spaces.GPU(
|
142 |
def run_with_upload(
|
143 |
uploaded_image_path: str,
|
144 |
upscale_option: str,
|
|
|
138 |
# HELPER FUNCTION FOR INFERENCE (build a list of identical centers)
|
139 |
# ------------------------------------------------------------------
|
140 |
|
141 |
+
@spaces.GPU()
|
142 |
def run_with_upload(
|
143 |
uploaded_image_path: str,
|
144 |
upscale_option: str,
|