lisaude0512 commited on
Commit
5d27d42
·
verified ·
1 Parent(s): 30753d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -13
app.py CHANGED
@@ -74,19 +74,11 @@ def respond(message, history):
74
  response+= token
75
  yield response
76
 
77
- custom_css = """
78
- .gradio-container {
79
- background-color: #d6d1e5; /* light purple */
80
- }
81
- .message.bot {
82
- background-color: #ffc6cc; /* pink */
83
- color: #1e3a8a;
84
- }
85
- .message.user {
86
- background-color: #ffb3da; /* pink */
87
- color: #831843;
88
- }
89
- """
90
 
91
  with gr.Blocks(css=custom_css) as demo:
92
  chatbot = gr.ChatInterface(
 
74
  response+= token
75
  yield response
76
 
77
+ theme = gr.themes.Soft(
78
+ primary_hue="rose",
79
+ secondary_hue="zinc",
80
+ neutral_hue="pink",
81
+ )
 
 
 
 
 
 
 
 
82
 
83
  with gr.Blocks(css=custom_css) as demo:
84
  chatbot = gr.ChatInterface(