Spaces:
Sleeping
Sleeping
aliasgerovs
commited on
Commit
·
af4e1a5
1
Parent(s):
16a43bc
Updated min char limit.
Browse files
app.py
CHANGED
@@ -260,7 +260,7 @@ def build_date(year, month, day):
|
|
260 |
def len_validator(text):
|
261 |
min_chars = 750
|
262 |
if len(text) < min_chars:
|
263 |
-
return f"Input length {len(text)}
|
264 |
else :
|
265 |
return f"Input length satisified."
|
266 |
|
|
|
260 |
def len_validator(text):
|
261 |
min_chars = 750
|
262 |
if len(text) < min_chars:
|
263 |
+
return f"Input length is {len(text)}. Please input a text that is greater than {min_chars} characters long. Recommended length {min_chars*2} characters."
|
264 |
else :
|
265 |
return f"Input length satisified."
|
266 |
|