mylesai commited on
Commit
e43f8fd
·
verified ·
1 Parent(s): 5caa361

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -387,9 +387,9 @@ def create_asset(client_name, collection_id, image_path, topical_map, new_imgs,
387
  '''
388
 
389
  # get seo, topic, and sub-topic from OpenAI API
390
- json_dict = get_seo_tags(image_url, topical_map, new_imgs)
391
  if not json_dict:
392
- json_dict = get_seo_tags(image_url, topical_map, new_imgs)
393
 
394
  topic = json_dict['topic']
395
  description = json_dict['description']
 
387
  '''
388
 
389
  # get seo, topic, and sub-topic from OpenAI API
390
+ json_dict = get_seo_tags(image_path, topical_map, new_imgs)
391
  if not json_dict:
392
+ json_dict = get_seo_tags(image_path, topical_map, new_imgs)
393
 
394
  topic = json_dict['topic']
395
  description = json_dict['description']