Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,8 +234,8 @@ with st.sidebar:
|
|
| 234 |
with st.form("targets_form"):
|
| 235 |
st.write("Set readability targets to guide your editing. Colors in the editor will reflect these targets.")
|
| 236 |
c1, c2 = st.columns(2)
|
| 237 |
-
f_min = c1.number_input("Min Flesch Reading Ease", value=float(manager.target_flesch_min))
|
| 238 |
-
g_max = c2.number_input("Max Flesch-Kincaid Grade", value=float(manager.target_grade_max))
|
| 239 |
w_min = c1.number_input("Min Chunk Words", value=int(manager.target_min_chunk_words))
|
| 240 |
w_max = c2.number_input("Max Chunk Words", value=int(manager.target_max_chunk_words))
|
| 241 |
|
|
|
|
| 234 |
with st.form("targets_form"):
|
| 235 |
st.write("Set readability targets to guide your editing. Colors in the editor will reflect these targets.")
|
| 236 |
c1, c2 = st.columns(2)
|
| 237 |
+
f_min = c1.number_input("Min Flesch Reading Ease", value=float(manager.target_flesch_min), help="Measures readability. Higher scores mean the text is easier to read. Scores of 60-70 are considered plain English.")
|
| 238 |
+
g_max = c2.number_input("Max Flesch-Kincaid Grade", value=float(manager.target_grade_max), help="Estimates the U.S. school grade level needed to understand the text. A score of 8.0 means an eighth grader can read it. Lower scores are easier to read.")
|
| 239 |
w_min = c1.number_input("Min Chunk Words", value=int(manager.target_min_chunk_words))
|
| 240 |
w_max = c2.number_input("Max Chunk Words", value=int(manager.target_max_chunk_words))
|
| 241 |
|