alexnasa fffiloni commited on
Commit
c5e0035
·
verified ·
1 Parent(s): 87e5339

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]>

Files changed (1) hide show
  1. app.py +1 -1
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(duration=120)
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,