Spaces:
Sleeping
Sleeping
Commit
•
8f5f4ed
1
Parent(s):
920f57c
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'(?<=\w)\\n|(?<=\w)\\t|(?<=\w)\\xa0', '', value)
|
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'[^\x20-\x7E\n\t\xa0]|(?<=\w)\\n|(?<=\w)\\t|(?<=\w)\\xa0', '', value)
|
29 |
return value
|
30 |
|
31 |
async def faq ():#line:28
|