shivanis14 commited on
Commit
b6676fb
1 Parent(s): 8b6a430

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -493,7 +493,7 @@ def chatbot_response(image_urls_str, product_name_by_user, data_extractor_url, e
493
  image_urls = []
494
  if product_name_by_user != "":
495
  similar_product_list_json = get_product_list(product_name_by_user, data_extractor_url)
496
- if similar_product_list_json != "{}" and extract_info = False:
497
  similar_product_list = json.loads(similar_product_list_json)['product_list']
498
  return similar_product_list
499
 
 
493
  image_urls = []
494
  if product_name_by_user != "":
495
  similar_product_list_json = get_product_list(product_name_by_user, data_extractor_url)
496
+ if similar_product_list_json != "{}" and extract_info == False:
497
  similar_product_list = json.loads(similar_product_list_json)['product_list']
498
  return similar_product_list
499