Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=[]
|