prithivMLmods commited on
Commit
28d72d3
·
verified ·
1 Parent(s): af2318a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -16
app.py CHANGED
@@ -24,13 +24,14 @@ from traffic_density import traffic_density_classification
24
  from clip_art import clipart_classification
25
 
26
  #Gradio-Theme
 
27
  class Seafoam(Base):
28
  def __init__(
29
  self,
30
  *,
31
  primary_hue: colors.Color | str = colors.emerald,
32
  secondary_hue: colors.Color | str = colors.blue,
33
- neutral_hue: colors.Color | str = colors.blue,
34
  spacing_size: sizes.Size | str = sizes.spacing_md,
35
  radius_size: sizes.Size | str = sizes.radius_md,
36
  text_size: sizes.Size | str = sizes.text_lg,
@@ -59,21 +60,6 @@ class Seafoam(Base):
59
  font=font,
60
  font_mono=font_mono,
61
  )
62
- super().set(
63
- body_background_fill="repeating-linear-gradient(45deg, *primary_200, *primary_200 10px, *primary_50 10px, *primary_50 20px)",
64
- body_background_fill_dark="repeating-linear-gradient(45deg, *primary_800, *primary_800 10px, *primary_900 10px, *primary_900 20px)",
65
- button_primary_background_fill="linear-gradient(90deg, *primary_300, *secondary_400)",
66
- button_primary_background_fill_hover="linear-gradient(90deg, *primary_200, *secondary_300)",
67
- button_primary_text_color="white",
68
- button_primary_background_fill_dark="linear-gradient(90deg, *primary_600, *secondary_800)",
69
- slider_color="*secondary_300",
70
- slider_color_dark="*secondary_600",
71
- block_title_text_weight="600",
72
- block_border_width="3px",
73
- block_shadow="*shadow_drop_lg",
74
- button_primary_shadow="*shadow_drop_lg",
75
- button_large_padding="32px",
76
- )
77
 
78
  seafoam = Seafoam()
79
 
 
24
  from clip_art import clipart_classification
25
 
26
  #Gradio-Theme
27
+
28
  class Seafoam(Base):
29
  def __init__(
30
  self,
31
  *,
32
  primary_hue: colors.Color | str = colors.emerald,
33
  secondary_hue: colors.Color | str = colors.blue,
34
+ neutral_hue: colors.Color | str = colors.gray,
35
  spacing_size: sizes.Size | str = sizes.spacing_md,
36
  radius_size: sizes.Size | str = sizes.radius_md,
37
  text_size: sizes.Size | str = sizes.text_lg,
 
60
  font=font,
61
  font_mono=font_mono,
62
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
  seafoam = Seafoam()
65