Janec09 commited on
Commit
3b1ff26
·
verified ·
1 Parent(s): 49de533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -14,12 +14,23 @@ chatbot = gr.ChatInterface(magic_8_ball, title = "Magic 8 Ball", description = "
14
  #defining my chatbot so users can interact and see their conversation history and send new messages!
15
 
16
 
17
- theme = gr.themes.Soft(
18
  primary_hue="purple",
19
  secondary_hue="fuchsia",
20
  neutral_hue = "gray",
21
  text_size = "lg"
22
- )
 
 
 
 
 
 
 
 
 
 
 
23
 
24
 
25
  chatbot.launch()
 
14
  #defining my chatbot so users can interact and see their conversation history and send new messages!
15
 
16
 
17
+ with gr.Blocks(theme = gr.themes.Soft(
18
  primary_hue="purple",
19
  secondary_hue="fuchsia",
20
  neutral_hue = "gray",
21
  text_size = "lg"
22
+ ).set(
23
+ background_fill_primary='*neutral_200',
24
+ background_fill_secondary='*neutral_400',
25
+ background_fill_secondary_dark='*secondary_500',
26
+ border_color_accent='*secondary_400',
27
+ border_color_accent_dark='*secondary_800',
28
+ color_accent='*secondary_300',
29
+ color_accent_soft='*secondary_500',
30
+ color_accent_soft_dark='*secondary_400',
31
+ button_primary_background_fill='*secondary_500',
32
+ button_primary_background_fill_dark='*secondary_600'
33
+ ))
34
 
35
 
36
  chatbot.launch()