darkbreakerk commited on
Commit
d2ec6cb
·
1 Parent(s): 5be68bc

Processing extracted tags

Browse files
Files changed (1) hide show
  1. Model_API/main.py +1 -0
Model_API/main.py CHANGED
@@ -37,6 +37,7 @@ async def get_destinations_list_api(question: str, top_k:str):
37
  print("Sentence:", original_sentence)
38
  print("Predicted Tags:", question_tags)
39
  # Get the prediction
 
40
  question_vector = get_question_vector(question_tags)
41
  destinations_list = get_destinations_list(question_vector, int(top_k))
42
 
 
37
  print("Sentence:", original_sentence)
38
  print("Predicted Tags:", question_tags)
39
  # Get the prediction
40
+ question_tags = " ".join(question_tags)
41
  question_vector = get_question_vector(question_tags)
42
  destinations_list = get_destinations_list(question_vector, int(top_k))
43