user-agent commited on
Commit
4724a1e
1 Parent(s): 3bda041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,11 +23,11 @@ COLOURS_DICT = data['color_mapping']
23
  def shot(input, category):
24
  subColour,mainColour,score = get_colour(ast.literal_eval(str(input)),category)
25
  return {
26
- "colors":[
27
  "main":mainColour,
28
  "sub":subColour,
29
  "score":score
30
- ]
31
  }
32
 
33
 
 
23
  def shot(input, category):
24
  subColour,mainColour,score = get_colour(ast.literal_eval(str(input)),category)
25
  return {
26
+ "colors":{
27
  "main":mainColour,
28
  "sub":subColour,
29
  "score":score
30
+ }
31
  }
32
 
33