selfit-camera commited on
Commit
5922f35
·
1 Parent(s): bde5093
Files changed (2) hide show
  1. app.py +4 -4
  2. push.sh +1 -1
app.py CHANGED
@@ -9,11 +9,11 @@ from nfsw import NSFWDetector
9
 
10
  # Configuration parameters
11
 
12
- TIP_TRY_N = 5 # Show like button tip after 12 tries
13
  FREE_TRY_N = 10 # Free phase: first 15 tries without restrictions
14
- SLOW_TRY_N = 16 # Slow phase start: 25 tries
15
- SLOW2_TRY_N = 24 # Slow phase start: 32 tries
16
- RATE_LIMIT_60 = 32 # Full restriction: blocked after 40 tries
17
 
18
  # Time window configuration (minutes)
19
  PHASE_1_WINDOW = 2 # 15-25 tries: 5 minutes
 
9
 
10
  # Configuration parameters
11
 
12
+ TIP_TRY_N = 4 # Show like button tip after 12 tries
13
  FREE_TRY_N = 10 # Free phase: first 15 tries without restrictions
14
+ SLOW_TRY_N = 15 # Slow phase start: 25 tries
15
+ SLOW2_TRY_N = 25 # Slow phase start: 32 tries
16
+ RATE_LIMIT_60 = 30 # Full restriction: blocked after 40 tries
17
 
18
  # Time window configuration (minutes)
19
  PHASE_1_WINDOW = 2 # 15-25 tries: 5 minutes
push.sh CHANGED
@@ -10,4 +10,4 @@ git config user.email
10
 
11
  git add .
12
  git commit -m "init"
13
- git push
 
10
 
11
  git add .
12
  git commit -m "init"
13
+ git push