Omnibus commited on
Commit
028d3c8
1 Parent(s): 2868311

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -20,6 +20,11 @@ print (loaded_model)
20
 
21
 
22
  def run_dif_color(out_prompt,model_drop,cnt,color,tint):
 
 
 
 
 
23
  print (color)
24
  p_seed=""
25
  out_box=[]
 
20
 
21
 
22
  def run_dif_color(out_prompt,model_drop,cnt,color,tint):
23
+ h=color.lstrip('#')
24
+ #h = input('Enter hex: ').lstrip('#')
25
+ #print('RGB =', tuple(int(h[i:i+2], 16) for i in (0, 2, 4)))
26
+ color=tuple(int(h[i:i+2], 16) for i in (0, 2, 4))
27
+
28
  print (color)
29
  p_seed=""
30
  out_box=[]