imvladikon
commited on
Commit
•
a3c2037
1
Parent(s):
69b2a84
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def get_html_from_server(text):
|
|
69 |
text = text.strip()
|
70 |
if text == "":
|
71 |
return []
|
72 |
-
response = requests.get(base_url.format(text))
|
73 |
answer = response.json()
|
74 |
ents = []
|
75 |
for ent in answer["ents"]:
|
|
|
69 |
text = text.strip()
|
70 |
if text == "":
|
71 |
return []
|
72 |
+
response = requests.get(base_url.format(requests.utils.quote(text)))
|
73 |
answer = response.json()
|
74 |
ents = []
|
75 |
for ent in answer["ents"]:
|