Spaces:
Running
Running
Commit
·
bde5093
1
Parent(s):
5a82f03
init
Browse files
app.py
CHANGED
|
@@ -10,10 +10,10 @@ from nfsw import NSFWDetector
|
|
| 10 |
# Configuration parameters
|
| 11 |
|
| 12 |
TIP_TRY_N = 5 # Show like button tip after 12 tries
|
| 13 |
-
FREE_TRY_N =
|
| 14 |
-
SLOW_TRY_N =
|
| 15 |
-
SLOW2_TRY_N =
|
| 16 |
-
RATE_LIMIT_60 =
|
| 17 |
|
| 18 |
# Time window configuration (minutes)
|
| 19 |
PHASE_1_WINDOW = 2 # 15-25 tries: 5 minutes
|
|
|
|
| 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
|