Janec09 commited on
Commit
8e4da83
·
verified ·
1 Parent(s): a5e60ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -22
app.py CHANGED
@@ -13,27 +13,11 @@ print("Hello World!")
13
  chatbot = gr.ChatInterface(magic_8_ball, title = "Magic 8 Ball", description = "Let's play magic 8 ball!", type = "messages")
14
  #defining my chatbot so users can interact and see their conversation history and send new messages!
15
 
16
- with gr.Blocks(theme=gr.themes.Soft(
17
- secondary_hue="white",
18
- neutral_hue="gray",
19
- text_size="lg",
20
- ).set(
21
- background_fill_primary='*neutral_200',
22
- background_fill_secondary='*neutral_400',
23
- background_fill_secondary_dark='*secondary_500',
24
- border_color_accent='*secondary_400',
25
- border_color_accent_dark='*secondary_800',
26
- color_accent='*secondary_300',
27
- color_accent_soft='*secondary_500',
28
- color_accent_soft_dark='*secondary_400',
29
- button_primary_background_fill='*secondary_500',
30
- button_primary_background_fill_dark='*secondary_600'
31
- )) as demo:
32
- chatbot = gr.ChatInterface(
33
- fn=magic_8_ball,
34
- title="Magic 8 Ball",
35
- description="Let's play magic 8 ball!",
36
- type="messages"
37
- )
38
 
39
  chatbot.launch()
 
13
  chatbot = gr.ChatInterface(magic_8_ball, title = "Magic 8 Ball", description = "Let's play magic 8 ball!", type = "messages")
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
+ )
21
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  chatbot.launch()