Janec09 commited on
Commit
b514635
·
verified ·
1 Parent(s): 7c35017

Update UI_Design

Browse files
Files changed (1) hide show
  1. UI_Design +27 -17
UI_Design CHANGED
@@ -1,17 +1,27 @@
1
- with gr.Blocks(theme = gr.themes.Soft(
2
- primary_hue="purple",
3
- secondary_hue="fuchsia",
4
- neutral_hue = "gray",
5
- text_size = "lg"
6
- ).set(
7
- background_fill_primary='*neutral_200',
8
- background_fill_secondary='*neutral_400',
9
- background_fill_secondary_dark='*secondary_500',
10
- border_color_accent='*secondary_400',
11
- border_color_accent_dark='*secondary_800',
12
- color_accent='*secondary_300',
13
- color_accent_soft='*secondary_500',
14
- color_accent_soft_dark='*secondary_400',
15
- button_primary_background_fill='*secondary_500',
16
- button_primary_background_fill_dark='*secondary_600'
17
- ))
 
 
 
 
 
 
 
 
 
 
 
1
+ with gr.Blocks(
2
+ theme=gr.themes.Soft(
3
+ primary_hue="purple",
4
+ secondary_hue="fuchsia",
5
+ neutral_hue="gray",
6
+ text_size="lg"
7
+ ).set(
8
+ background_fill_primary='*neutral_200',
9
+ background_fill_secondary='neutral_100',
10
+ background_fill_secondary_dark='secondary_500',
11
+ border_color_accent='*secondary_400',
12
+ border_color_accent_dark='*secondary_800',
13
+ color_accent='*secondary_600',
14
+ color_accent_soft='*secondary_200',
15
+ color_accent_soft_dark='*secondary_700',
16
+ button_primary_background_fill='*secondary_100',
17
+ button_primary_background_fill_dark='*secondary_600'
18
+ )
19
+
20
+ ) as demo:
21
+
22
+ gr.ChatInterface(
23
+ fn=magic_8_ball,
24
+ title="Magic 8 Ball",
25
+ description="Let's play magic 8 ball!",
26
+ type="messages"
27
+ )