Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
selfitcamera
commited on
Commit
·
ca69831
1
Parent(s):
8ea7daf
init
Browse files- __lib__/app.py +4 -4
- __lib__/i18n/ar.pyc +0 -0
- __lib__/i18n/da.pyc +0 -0
- __lib__/i18n/de.pyc +0 -0
- __lib__/i18n/en.pyc +0 -0
- __lib__/i18n/es.pyc +0 -0
- __lib__/i18n/fi.pyc +0 -0
- __lib__/i18n/fr.pyc +0 -0
- __lib__/i18n/he.pyc +0 -0
- __lib__/i18n/hi.pyc +0 -0
- __lib__/i18n/id.pyc +0 -0
- __lib__/i18n/it.pyc +0 -0
- __lib__/i18n/ja.pyc +0 -0
- __lib__/i18n/nl.pyc +0 -0
- __lib__/i18n/no.pyc +0 -0
- __lib__/i18n/pt.pyc +0 -0
- __lib__/i18n/ru.pyc +0 -0
- __lib__/i18n/sv.pyc +0 -0
- __lib__/i18n/tr.pyc +0 -0
- __lib__/i18n/uk.pyc +0 -0
- __lib__/i18n/vi.pyc +0 -0
- __lib__/i18n/zh.pyc +0 -0
- __lib__/util.pyc +0 -0
__lib__/app.py
CHANGED
|
@@ -34,10 +34,10 @@ def t(key, lang="en"):
|
|
| 34 |
# Configuration parameters
|
| 35 |
# a = b
|
| 36 |
TIP_TRY_N = 1 # Show like button tip after 12 tries
|
| 37 |
-
FREE_TRY_N =
|
| 38 |
SLOW_TRY_N = 6 # Slow phase start: 25 tries
|
| 39 |
SLOW2_TRY_N = 10 # Slow phase start: 32 tries
|
| 40 |
-
RATE_LIMIT_60 =
|
| 41 |
|
| 42 |
# Time window configuration (minutes)
|
| 43 |
PHASE_1_WINDOW = 6 # 15-25 tries: 5 minutes
|
|
@@ -889,7 +889,7 @@ def edit_image_interface(input_image, prompt, lang, request: gr.Request, progres
|
|
| 889 |
# Create Gradio interface
|
| 890 |
def create_app():
|
| 891 |
with gr.Blocks(
|
| 892 |
-
title="
|
| 893 |
theme=gr.themes.Soft(),
|
| 894 |
css="""
|
| 895 |
.main-container {
|
|
@@ -1029,7 +1029,7 @@ def create_app():
|
|
| 1029 |
margin: 0 8px;
|
| 1030 |
" onmouseover="this.style.borderBottom='1px solid white'"
|
| 1031 |
onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
|
| 1032 |
-
|
| 1033 |
</a>
|
| 1034 |
is Online Now ! More free trials, better quality!
|
| 1035 |
</span>
|
|
|
|
| 34 |
# Configuration parameters
|
| 35 |
# a = b
|
| 36 |
TIP_TRY_N = 1 # Show like button tip after 12 tries
|
| 37 |
+
FREE_TRY_N = 4 # Free phase: first 15 tries without restrictions
|
| 38 |
SLOW_TRY_N = 6 # Slow phase start: 25 tries
|
| 39 |
SLOW2_TRY_N = 10 # Slow phase start: 32 tries
|
| 40 |
+
RATE_LIMIT_60 = 14 # Full restriction: blocked after 40 tries
|
| 41 |
|
| 42 |
# Time window configuration (minutes)
|
| 43 |
PHASE_1_WINDOW = 6 # 15-25 tries: 5 minutes
|
|
|
|
| 889 |
# Create Gradio interface
|
| 890 |
def create_app():
|
| 891 |
with gr.Blocks(
|
| 892 |
+
title="Image Editor 1.0",
|
| 893 |
theme=gr.themes.Soft(),
|
| 894 |
css="""
|
| 895 |
.main-container {
|
|
|
|
| 1029 |
margin: 0 8px;
|
| 1030 |
" onmouseover="this.style.borderBottom='1px solid white'"
|
| 1031 |
onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
|
| 1032 |
+
Image Editor 2.0
|
| 1033 |
</a>
|
| 1034 |
is Online Now ! More free trials, better quality!
|
| 1035 |
</span>
|
__lib__/i18n/ar.pyc
CHANGED
|
Binary files a/__lib__/i18n/ar.pyc and b/__lib__/i18n/ar.pyc differ
|
|
|
__lib__/i18n/da.pyc
CHANGED
|
Binary files a/__lib__/i18n/da.pyc and b/__lib__/i18n/da.pyc differ
|
|
|
__lib__/i18n/de.pyc
CHANGED
|
Binary files a/__lib__/i18n/de.pyc and b/__lib__/i18n/de.pyc differ
|
|
|
__lib__/i18n/en.pyc
CHANGED
|
Binary files a/__lib__/i18n/en.pyc and b/__lib__/i18n/en.pyc differ
|
|
|
__lib__/i18n/es.pyc
CHANGED
|
Binary files a/__lib__/i18n/es.pyc and b/__lib__/i18n/es.pyc differ
|
|
|
__lib__/i18n/fi.pyc
CHANGED
|
Binary files a/__lib__/i18n/fi.pyc and b/__lib__/i18n/fi.pyc differ
|
|
|
__lib__/i18n/fr.pyc
CHANGED
|
Binary files a/__lib__/i18n/fr.pyc and b/__lib__/i18n/fr.pyc differ
|
|
|
__lib__/i18n/he.pyc
CHANGED
|
Binary files a/__lib__/i18n/he.pyc and b/__lib__/i18n/he.pyc differ
|
|
|
__lib__/i18n/hi.pyc
CHANGED
|
Binary files a/__lib__/i18n/hi.pyc and b/__lib__/i18n/hi.pyc differ
|
|
|
__lib__/i18n/id.pyc
CHANGED
|
Binary files a/__lib__/i18n/id.pyc and b/__lib__/i18n/id.pyc differ
|
|
|
__lib__/i18n/it.pyc
CHANGED
|
Binary files a/__lib__/i18n/it.pyc and b/__lib__/i18n/it.pyc differ
|
|
|
__lib__/i18n/ja.pyc
CHANGED
|
Binary files a/__lib__/i18n/ja.pyc and b/__lib__/i18n/ja.pyc differ
|
|
|
__lib__/i18n/nl.pyc
CHANGED
|
Binary files a/__lib__/i18n/nl.pyc and b/__lib__/i18n/nl.pyc differ
|
|
|
__lib__/i18n/no.pyc
CHANGED
|
Binary files a/__lib__/i18n/no.pyc and b/__lib__/i18n/no.pyc differ
|
|
|
__lib__/i18n/pt.pyc
CHANGED
|
Binary files a/__lib__/i18n/pt.pyc and b/__lib__/i18n/pt.pyc differ
|
|
|
__lib__/i18n/ru.pyc
CHANGED
|
Binary files a/__lib__/i18n/ru.pyc and b/__lib__/i18n/ru.pyc differ
|
|
|
__lib__/i18n/sv.pyc
CHANGED
|
Binary files a/__lib__/i18n/sv.pyc and b/__lib__/i18n/sv.pyc differ
|
|
|
__lib__/i18n/tr.pyc
CHANGED
|
Binary files a/__lib__/i18n/tr.pyc and b/__lib__/i18n/tr.pyc differ
|
|
|
__lib__/i18n/uk.pyc
CHANGED
|
Binary files a/__lib__/i18n/uk.pyc and b/__lib__/i18n/uk.pyc differ
|
|
|
__lib__/i18n/vi.pyc
CHANGED
|
Binary files a/__lib__/i18n/vi.pyc and b/__lib__/i18n/vi.pyc differ
|
|
|
__lib__/i18n/zh.pyc
CHANGED
|
Binary files a/__lib__/i18n/zh.pyc and b/__lib__/i18n/zh.pyc differ
|
|
|
__lib__/util.pyc
CHANGED
|
Binary files a/__lib__/util.pyc and b/__lib__/util.pyc differ
|
|
|