tuansunday05 commited on
Commit
359a44c
·
verified ·
1 Parent(s): 825c5d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def yolov9_inference(model_id, image_size, conf_threshold, iou_threshold, img_pa
34
 
35
  return output_image, output_video, output_path
36
 
 
37
  def inference(model_id, image_size, conf_threshold, iou_threshold, img_path=None, vid_path=None):
38
  global should_continue
39
  should_continue = True
 
34
 
35
  return output_image, output_video, output_path
36
 
37
+ @spaces.GPU(duration=60)
38
  def inference(model_id, image_size, conf_threshold, iou_threshold, img_path=None, vid_path=None):
39
  global should_continue
40
  should_continue = True