mrwenchen commited on
Commit
f6914c4
·
1 Parent(s): 832b80f

glass style

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,13 +43,12 @@ def get_colors(pimg):
43
  ordered_colors = [center_colors[i] for i in counts.keys()]
44
  hex_colors = [RGB2HEX(ordered_colors[i]) for i in counts.keys()]
45
  #rgb_colors = [ordered_colors[i] for i in counts.keys()]
46
- print(hex_colors)
47
  return hex_colors
48
 
49
 
50
  # demo = gr.Blocks()
51
 
52
- with gr.Blocks(theme=gr.themes.Default(spacing_size="sm", radius_size="none")) as demo:
53
  gr.Markdown(
54
  """
55
  # Extract Colors from an image using KMeans clustering
 
43
  ordered_colors = [center_colors[i] for i in counts.keys()]
44
  hex_colors = [RGB2HEX(ordered_colors[i]) for i in counts.keys()]
45
  #rgb_colors = [ordered_colors[i] for i in counts.keys()]
 
46
  return hex_colors
47
 
48
 
49
  # demo = gr.Blocks()
50
 
51
+ with gr.Blocks(theme=gr.themes.Glass()) as demo:
52
  gr.Markdown(
53
  """
54
  # Extract Colors from an image using KMeans clustering