ziqiangao commited on
Commit
14eab2a
·
verified ·
1 Parent(s): ece5f12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ path = "" # Update with your path
21
 
22
  def getTrigger(ad: int, a: list, max: int = 1024) -> int:
23
  i = ad
24
- while not (a[i] < 128 and not a[i + 2] < 128 or i - ad > max):
25
  i += 1
26
  return i
27
 
 
21
 
22
  def getTrigger(ad: int, a: list, max: int = 1024) -> int:
23
  i = ad
24
+ while not (a[i] < 120 and not a[i + 6] < 130 or i - ad > max):
25
  i += 1
26
  return i
27