Update app.py
Browse files
app.py
CHANGED
|
@@ -125,7 +125,7 @@ def load_single_example_text(
|
|
| 125 |
# load the examples into a list
|
| 126 |
with open(full_ex_path, "r", encoding="utf-8", errors="ignore") as f:
|
| 127 |
raw_text = f.read()
|
| 128 |
-
text =
|
| 129 |
return text
|
| 130 |
|
| 131 |
|
|
|
|
| 125 |
# load the examples into a list
|
| 126 |
with open(full_ex_path, "r", encoding="utf-8", errors="ignore") as f:
|
| 127 |
raw_text = f.read()
|
| 128 |
+
text = clean(raw_text, extra_spaces=True, lowercase=False) #see if it works
|
| 129 |
return text
|
| 130 |
|
| 131 |
|