msamogh commited on
Commit
df7fa67
1 Parent(s): 096c0b6
Files changed (1) hide show
  1. app.py +1 -1
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 ressponse["intent"]:
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: