Spaces:
Running
on
Zero
Running
on
Zero
set default duration for ZeroGPU (no need for 120s) (#4)
Browse files- set default duration for ZeroGPU (no need for 120s) (f615e50eee4de38ee5f0a1d42fce110445b12eaf)
Co-authored-by: Sylvain Filoni <[email protected]>
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,
|