Fix typo
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def predict(input):
|
|
20 |
|
21 |
del response["response_selector"]
|
22 |
response["intent_ranking"] = response["intent_ranking"][:3]
|
23 |
-
if "id" in
|
24 |
del response["intent"]["id"]
|
25 |
for i in response["intent_ranking"]:
|
26 |
if "id" in i:
|
|
|
20 |
|
21 |
del response["response_selector"]
|
22 |
response["intent_ranking"] = response["intent_ranking"][:3]
|
23 |
+
if "id" in response["intent"]:
|
24 |
del response["intent"]["id"]
|
25 |
for i in response["intent_ranking"]:
|
26 |
if "id" in i:
|