Spaces:
Sleeping
Sleeping
LeireTedCas
commited on
Commit
•
6c424d8
1
Parent(s):
d1cc1b3
Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,10 @@ archivo ="./preguntas_qh_tags.xlsx"#line:22
|
|
21 |
xlrd .xlsx .ensure_elementtree_imported (False ,None )#line:25
|
22 |
xlrd .xlsx .Element_has_iter =True #line:26
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
27 |
|
28 |
async def faq ():#line:28
|
29 |
OO0000OO00O0OOO00 =pd .read_excel (archivo ,engine ="openpyxl")#line:29
|
|
|
21 |
xlrd .xlsx .ensure_elementtree_imported (False ,None )#line:25
|
22 |
xlrd .xlsx .Element_has_iter =True #line:26
|
23 |
|
24 |
+
def remove_non_printable(value):
|
25 |
+
if isinstance(value, str):
|
26 |
+
return ''.join(char for char in value if char.isprintable())
|
27 |
+
return value
|
28 |
|
29 |
async def faq ():#line:28
|
30 |
OO0000OO00O0OOO00 =pd .read_excel (archivo ,engine ="openpyxl")#line:29
|