atalaydenknalbant commited on
Commit
b4303a9
·
verified ·
1 Parent(s): f185716

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ category_dict = {0: 'A', 1: 'B', 2: 'C', 3: 'D', 4: 'E', 5: 'F', 6: 'G', 7: 'H',
60
  17: 'R', 18: 'S', 19: 'T', 20: 'U', 21: 'V', 22: 'W', 23: 'X', 24: 'Y', 25: 'Z'}
61
 
62
 
63
- @spaces.GPU
64
  def yolo_inference(input_type, image, video, model_id, conf_threshold, iou_threshold, max_detection):
65
  """
66
  Performs ASL letter detection inference on an image or video using a YOLO model.
 
60
  17: 'R', 18: 'S', 19: 'T', 20: 'U', 21: 'V', 22: 'W', 23: 'X', 24: 'Y', 25: 'Z'}
61
 
62
 
63
+ @spaces.GPU(60)
64
  def yolo_inference(input_type, image, video, model_id, conf_threshold, iou_threshold, max_detection):
65
  """
66
  Performs ASL letter detection inference on an image or video using a YOLO model.