Black background cornflower blue button

#15
by STSDerek - opened
Files changed (1) hide show
  1. app.py +2 -18
app.py CHANGED
@@ -4,22 +4,6 @@ from sentence_transformers import SentenceTransformer, util
4
  # Load semantic similarity model
5
  model = SentenceTransformer('all-MiniLM-L6-v2')
6
 
7
- ## Custom theme params (matches current website colors)
8
- #sts_theme = gr.themes.Default(
9
- # primary_hue="blue",
10
- # secondary_hue="orange",
11
- # neutral_hue="gray"
12
- #).set(
13
- # # VALID parameters (no chatbot-specific overrides)
14
- # button_primary_background_fill="#FF6B00", # Orange
15
- # button_primary_text_color="#FFFFFF", # White text
16
- # button_primary_background_fill_hover="#E05D00", # Darker orange
17
- ## body_background_fill="#E9ECEF", # Light gray (main bg)
18
- ## body_background_fill_dark="#E9ECEF", # Force light mode
19
- # block_background_fill="#FFFFFF", # Message bubbles
20
- # border_color_primary="#0056B3" # Dark blue borders
21
- #)
22
-
23
  # SofTouch Systems FAQs
24
  faq_data = {
25
  "Who is SofTouch Systems?": "Derek Moyes founded SofTouch Systems in 1993 as a sole-proprietorship in San Antonio, Texas. Today, SofTouch Systems has an extensive list of customers, including home users, non-profits, and small & medium businesses.",
@@ -104,7 +88,7 @@ iface = gr.ChatInterface(
104
  type="messages",
105
  css="""
106
  .gradio-container {
107
- background: #e9ecef !important;
108
  border-radius: 8px !important;
109
  }
110
  .chatbot {
@@ -131,7 +115,7 @@ iface = gr.ChatInterface(
131
  align-self: flex-start;
132
  }
133
  .submit-button {
134
- background: #ff6b00 !important;
135
  color: white !important;
136
  }
137
  .submit-button:hover {
 
4
  # Load semantic similarity model
5
  model = SentenceTransformer('all-MiniLM-L6-v2')
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  # SofTouch Systems FAQs
8
  faq_data = {
9
  "Who is SofTouch Systems?": "Derek Moyes founded SofTouch Systems in 1993 as a sole-proprietorship in San Antonio, Texas. Today, SofTouch Systems has an extensive list of customers, including home users, non-profits, and small & medium businesses.",
 
88
  type="messages",
89
  css="""
90
  .gradio-container {
91
+ background: #ffffff !important;
92
  border-radius: 8px !important;
93
  }
94
  .chatbot {
 
115
  align-self: flex-start;
116
  }
117
  .submit-button {
118
+ background: #6495ed !important;
119
  color: white !important;
120
  }
121
  .submit-button:hover {