Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ FONT_SIZE = "14px"
|
|
74 |
# load the English language model
|
75 |
nlp = spacy.load('en_core_web_sm')
|
76 |
|
77 |
-
def colorize_text(text, colors=
|
78 |
if colors is None:
|
79 |
colors = COLORS
|
80 |
colorized_text = ""
|
|
|
74 |
# load the English language model
|
75 |
nlp = spacy.load('en_core_web_sm')
|
76 |
|
77 |
+
def colorize_text(text, colors=DYSLEXIA_COLORS, background_color=None):
|
78 |
if colors is None:
|
79 |
colors = COLORS
|
80 |
colorized_text = ""
|