Daniel Cerda Escobar commited on
Commit
fc65b4c
·
1 Parent(s): 8f2e27c

Update application file

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -70,10 +70,10 @@ class SpinnerTexts:
70
  "Meanwhile try out [YOLOv5 HF Spaces demo of SAHI](https://huggingface.co/spaces/fcakyon/sahi-yolov5)!",
71
  ]
72
 
73
- # def _store(self, ind):
74
- # if len(self.ind_history_list) == 6:
75
- # self.ind_history_list.pop(0)
76
- # self.ind_history_list.append(ind)
77
 
78
  def get(self):
79
  ind = 0
 
70
  "Meanwhile try out [YOLOv5 HF Spaces demo of SAHI](https://huggingface.co/spaces/fcakyon/sahi-yolov5)!",
71
  ]
72
 
73
+ def _store(self, ind):
74
+ if len(self.ind_history_list) == 6:
75
+ self.ind_history_list.pop(0)
76
+ self.ind_history_list.append(ind)
77
 
78
  def get(self):
79
  ind = 0