Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
Β·
ca9862a
1
Parent(s):
4738528
init
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from util import process_image_edit, process_local_image_edit, download_and_chec
|
|
| 8 |
from nfsw import NSFWDetector
|
| 9 |
|
| 10 |
# Configuration parameters
|
| 11 |
-
FREE_TRY_N =
|
| 12 |
SLOW_TRY_N = 25 # Slow phase start: 25 tries
|
| 13 |
SLOW2_TRY_N = 32 # Slow phase start: 32 tries
|
| 14 |
RATE_LIMIT_60 = 40 # Full restriction: blocked after 40 tries
|
|
@@ -793,7 +793,7 @@ def create_app():
|
|
| 793 |
text-align: center;
|
| 794 |
">
|
| 795 |
<span style="color: white; font-weight: 600; font-size: 1.0em;">
|
| 796 |
-
π
|
| 797 |
<a href="https://huggingface.co/spaces/Selfit/Multi-Image-Edit" target="_blank" style="
|
| 798 |
color: white;
|
| 799 |
text-decoration: none;
|
|
@@ -801,7 +801,7 @@ def create_app():
|
|
| 801 |
transition: all 0.3s ease;
|
| 802 |
" onmouseover="this.style.borderBottom='1px solid white'"
|
| 803 |
onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
|
| 804 |
-
|
| 805 |
</a>
|
| 806 |
</span>
|
| 807 |
</div>
|
|
|
|
| 8 |
from nfsw import NSFWDetector
|
| 9 |
|
| 10 |
# Configuration parameters
|
| 11 |
+
FREE_TRY_N = 20 # Free phase: first 15 tries without restrictions
|
| 12 |
SLOW_TRY_N = 25 # Slow phase start: 25 tries
|
| 13 |
SLOW2_TRY_N = 32 # Slow phase start: 32 tries
|
| 14 |
RATE_LIMIT_60 = 40 # Full restriction: blocked after 40 tries
|
|
|
|
| 793 |
text-align: center;
|
| 794 |
">
|
| 795 |
<span style="color: white; font-weight: 600; font-size: 1.0em;">
|
| 796 |
+
π NEWS:
|
| 797 |
<a href="https://huggingface.co/spaces/Selfit/Multi-Image-Edit" target="_blank" style="
|
| 798 |
color: white;
|
| 799 |
text-decoration: none;
|
|
|
|
| 801 |
transition: all 0.3s ease;
|
| 802 |
" onmouseover="this.style.borderBottom='1px solid white'"
|
| 803 |
onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
|
| 804 |
+
World's First Multi-Image Editing Tool β
|
| 805 |
</a>
|
| 806 |
</span>
|
| 807 |
</div>
|