Spaces:
Sleeping
Sleeping
aliasgerovs
commited on
Commit
·
3ce5e87
1
Parent(s):
d1591e8
Updated
Browse files
app.py
CHANGED
@@ -262,7 +262,7 @@ def len_validator(text):
|
|
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 |
|
267 |
def extract_text_from_pdf(pdf_path):
|
268 |
doc = fitz.open(pdf_path)
|
|
|
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 is satisified."
|
266 |
|
267 |
def extract_text_from_pdf(pdf_path):
|
268 |
doc = fitz.open(pdf_path)
|