set default duration for ZeroGPU (no need for 120s)

#4
by fffiloni - opened
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,