user-agent commited on
Commit
90773b5
·
verified ·
1 Parent(s): b1532b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ ATTRIBUTES_DICT = attributes_data['attribute_mapping']
36
  def shot(input, category):
37
  subColour,mainColour,score = get_colour(ast.literal_eval(str(input)),category)
38
  common_result = get_predicted_attributes(ast.literal_eval(str(input)),category)
 
39
  return {
40
  "colors":{
41
  "main":mainColour,
 
36
  def shot(input, category):
37
  subColour,mainColour,score = get_colour(ast.literal_eval(str(input)),category)
38
  common_result = get_predicted_attributes(ast.literal_eval(str(input)),category)
39
+ openai_parsed_response = get_openAI_tags(ast.literal_eval(str(input)))
40
  return {
41
  "colors":{
42
  "main":mainColour,