Spaces:
Running
Running
selfitcamera
commited on
Commit
·
f01a96f
1
Parent(s):
c0b715e
init
Browse files
app.py
CHANGED
|
@@ -7,9 +7,9 @@ import time
|
|
| 7 |
from util import process_image_edit, OPENROUTER_API_KEY
|
| 8 |
|
| 9 |
# Configuration parameters for watermark removal
|
| 10 |
-
FREE_TRY_N =
|
| 11 |
SLOW_TRY_N = 20 # Slow phase start: 20 tries
|
| 12 |
-
RATE_LIMIT_20 =
|
| 13 |
|
| 14 |
# Time window configuration (minutes)
|
| 15 |
PHASE_1_WINDOW = 5 # 8-20 tries: 5 minutes
|
|
|
|
| 7 |
from util import process_image_edit, OPENROUTER_API_KEY
|
| 8 |
|
| 9 |
# Configuration parameters for watermark removal
|
| 10 |
+
FREE_TRY_N = 15 # Free phase: first 8 tries without restrictions
|
| 11 |
SLOW_TRY_N = 20 # Slow phase start: 20 tries
|
| 12 |
+
RATE_LIMIT_20 = 25 # Full restriction: blocked after 20 tries
|
| 13 |
|
| 14 |
# Time window configuration (minutes)
|
| 15 |
PHASE_1_WINDOW = 5 # 8-20 tries: 5 minutes
|