Spaces:
Running
Running
Update app_v1.py
Browse files
app_v1.py
CHANGED
@@ -258,7 +258,7 @@ def pre_process_text(text):
|
|
258 |
# sentences = pre_process_text(text)
|
259 |
# return textstat.flesch_kincaid_grade(sentences)
|
260 |
|
261 |
-
def automated_readability_index():
|
262 |
sentences = pre_process_text(text)
|
263 |
return textstat.automated_readability_index(sentences)
|
264 |
|
|
|
258 |
# sentences = pre_process_text(text)
|
259 |
# return textstat.flesch_kincaid_grade(sentences)
|
260 |
|
261 |
+
def automated_readability_index(text):
|
262 |
sentences = pre_process_text(text)
|
263 |
return textstat.automated_readability_index(sentences)
|
264 |
|