Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
ae86868
1
Parent(s):
94a93b4
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def safe_text(text):
|
|
21 |
text = text.replace('*', '\\%2A')
|
22 |
text = text.replace('&', '\\%26')
|
23 |
text = re.sub(r"([$_*\[\]()~`>\#\+\-=|\.!{}])", r"\\\1", text)
|
24 |
-
return f"<pre>{text}</pre>
|
25 |
|
26 |
|
27 |
def query(payload):
|
|
|
21 |
text = text.replace('*', '\\%2A')
|
22 |
text = text.replace('&', '\\%26')
|
23 |
text = re.sub(r"([$_*\[\]()~`>\#\+\-=|\.!{}])", r"\\\1", text)
|
24 |
+
return f"<pre>{text}</pre>"
|
25 |
|
26 |
|
27 |
def query(payload):
|