hjianganthony commited on
Commit
4ac0b83
·
1 Parent(s): 79663a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,7 +34,8 @@ examples = [
34
 
35
  def main(sentence: str, score_type: str, threshold_cosine: float, threshold_jaccard: float = 0.1):
36
  threshold = threshold_cosine if score_type == "cosine" else threshold_jaccard
37
- results = search_offers(sentence, df_offers_brand_retailer, category_dict, brand_belong_category_dict, score_type, threshold)
 
38
  message, processed_results = process_output(results)
39
  return message, processed_results
40
 
 
34
 
35
  def main(sentence: str, score_type: str, threshold_cosine: float, threshold_jaccard: float = 0.1):
36
  threshold = threshold_cosine if score_type == "cosine" else threshold_jaccard
37
+ # results = search_offers(sentence, df_offers_brand_retailer, category_dict, brand_belong_category_dict, score_type, threshold)
38
+ results = 'whatever'
39
  message, processed_results = process_output(results)
40
  return message, processed_results
41