aliasgerovs commited on
Commit
d1591e8
1 Parent(s): 4ffd446

Added warning comment here.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 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
 
 
260
  def len_validator(text):
261
  min_chars = 750
262
  if len(text) < min_chars:
263
+ return f"Warning! 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