Deila Proalfa commited on
Commit
8b71f22
·
1 Parent(s): 1b46468

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -9,8 +9,8 @@ from gpt4all import GPT4All
9
  model = GPT4All("ggml-model-gpt4all-falcon-q4_0.bin")
10
 
11
  theme = Gradio.themes.Monochrome(
12
- primary_hue="purple",
13
- secondary_hue="purple",
14
  neutral_hue="neutral",
15
  radius_size=Gradio.themes.sizes.radius_sm,
16
  font=[Gradio.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"],
@@ -20,8 +20,8 @@ class PurpleTheme(Base):
20
  def __init__(
21
  self,
22
  *,
23
- primary_hue: colors.Color | str = colors.purple,
24
- secondary_hue: colors.Color | str = colors.purple,
25
  neutral_hue: colors.Color | str = colors.neutral,
26
  spacing_size: sizes.Size | str = sizes.spacing_md,
27
  radius_size: sizes.Size | str = sizes.radius_md,
@@ -62,7 +62,7 @@ class PurpleTheme(Base):
62
  input_shadow_focus="*shadow_drop_lg",
63
  )
64
 
65
- custom_theme = PurpleTheme()
66
 
67
  ins = '''### Instruction:
68
  {}
 
9
  model = GPT4All("ggml-model-gpt4all-falcon-q4_0.bin")
10
 
11
  theme = Gradio.themes.Monochrome(
12
+ primary_hue="cyan",
13
+ secondary_hue="cyan",
14
  neutral_hue="neutral",
15
  radius_size=Gradio.themes.sizes.radius_sm,
16
  font=[Gradio.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"],
 
20
  def __init__(
21
  self,
22
  *,
23
+ primary_hue: colors.Color | str = colors.cyan,
24
+ secondary_hue: colors.Color | str = colors.cyan,
25
  neutral_hue: colors.Color | str = colors.neutral,
26
  spacing_size: sizes.Size | str = sizes.spacing_md,
27
  radius_size: sizes.Size | str = sizes.radius_md,
 
62
  input_shadow_focus="*shadow_drop_lg",
63
  )
64
 
65
+ custom_theme = CyanTheme()
66
 
67
  ins = '''### Instruction:
68
  {}