Spaces:
Running on CPU Upgrade

mobrown commited on
Commit
b52abd0
·
verified ·
1 Parent(s): 0a66ca4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -8,7 +8,11 @@ example_texts = {
8
 
9
 
10
  def get_readability_level(fog_index):
11
- if fog_index <= 12:
 
 
 
 
12
  return "Middle School Level"
13
  elif fog_index <= 16:
14
  return "High School Senior Level"
 
8
 
9
 
10
  def get_readability_level(fog_index):
11
+ if fog_index <= 5:
12
+ return "First to Third Grade Level"
13
+ if fog_index <= 8:
14
+ return "Elementary School Level"
15
+ elif fog_index <= 12:
16
  return "Middle School Level"
17
  elif fog_index <= 16:
18
  return "High School Senior Level"