Omnibus commited on
Commit
6998231
·
verified ·
1 Parent(s): 3983936

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def get_nouns(text):
70
  return json_object,noun_list
71
  def find_query(query,sen,nouns):
72
  blob_f = TextBlob(query)
73
- for ea in list(blob_f.parse()):
74
  print(ea)
75
  print(ea.split("/"))
76
  return blob_f.parse()
 
70
  return json_object,noun_list
71
  def find_query(query,sen,nouns):
72
  blob_f = TextBlob(query)
73
+ for ea in blob_f.parse().split(" "):
74
  print(ea)
75
  print(ea.split("/"))
76
  return blob_f.parse()