vettorazi commited on
Commit
f5d224d
1 Parent(s): 16dea1d

everything running. just trying to fix the dominant color endpoint.

Browse files
Files changed (3) hide show
  1. dominantColors.py +0 -1
  2. requirements.txt +4 -0
  3. todo.md +5 -0
dominantColors.py CHANGED
@@ -6,7 +6,6 @@ import math
6
  import numpy as np
7
  from PIL import Image
8
  from sklearn.cluster import MiniBatchKMeans
9
- import compColors
10
 
11
  PALETTE_WIDTH = 800
12
  PALETTE_HEIGHT = 200
 
6
  import numpy as np
7
  from PIL import Image
8
  from sklearn.cluster import MiniBatchKMeans
 
9
 
10
  PALETTE_WIDTH = 800
11
  PALETTE_HEIGHT = 200
requirements.txt CHANGED
@@ -45,3 +45,7 @@ uvicorn==0.23.2
45
  uvloop==0.17.0
46
  watchfiles==0.19.0
47
  websockets==11.0.3
 
 
 
 
 
45
  uvloop==0.17.0
46
  watchfiles==0.19.0
47
  websockets==11.0.3
48
+ colorsys==0.0.1
49
+ scikit-learn==1.3.0
50
+ ```
51
+
todo.md CHANGED
@@ -13,3 +13,8 @@ source ./env/bin/activate
13
  #source env/bin/activate
14
  #uvicorn server:app --reload
15
  `
 
 
 
 
 
 
13
  #source env/bin/activate
14
  #uvicorn server:app --reload
15
  `
16
+
17
+
18
+ ERRORS TODO:
19
+ PALETTE ALGO IS WORKING BUT GIVING WARNINGS AND ERRORS.
20
+ DOMINANT COLOR IS BROKEN