Spaces:
Sleeping
Sleeping
LeireTedCas
commited on
Commit
•
920f57c
1
Parent(s):
6011b1a
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ xlrd .xlsx .Element_has_iter =True #line:26
|
|
25 |
def remove_non_printable(value):
|
26 |
if isinstance(value, str):
|
27 |
#return re.sub(r'[^\x20-\x7E\n\t\xa0]|(?<=\w)\n|(?<=\w)\t', '', value)
|
28 |
-
return re.sub(r'
|
29 |
return value
|
30 |
|
31 |
async def faq ():#line:28
|
|
|
25 |
def remove_non_printable(value):
|
26 |
if isinstance(value, str):
|
27 |
#return re.sub(r'[^\x20-\x7E\n\t\xa0]|(?<=\w)\n|(?<=\w)\t', '', value)
|
28 |
+
return re.sub(r'(?<=\w)\\n|(?<=\w)\\t|(?<=\w)\\xa0', '', value)
|
29 |
return value
|
30 |
|
31 |
async def faq ():#line:28
|