antoinette-f commited on
Commit
2129e33
·
verified ·
1 Parent(s): eb794d5

font works but too small so changed it

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -60,20 +60,21 @@ def respond(message, chat_history):
60
  return chat_history, image_paths
61
 
62
  #hopefully fixed CSS code
63
- # Updated CSS section - replace your existing CSS variable
64
  css = """
65
  .gradio-container {
66
  background: linear-gradient(135deg, #F4D2D0 0%, #E8B5B3 100%) !important;
67
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
68
  }
69
 
70
- /* Professional container styling */
71
  #chatbot-box {
72
  background-color: #2F4F4F !important;
73
  color: white !important;
74
  border-radius: 12px !important;
75
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
76
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
 
 
77
  }
78
 
79
  #gallery-box {
@@ -143,13 +144,16 @@ h1 {
143
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
144
  }
145
 
146
- /* Professional subtitle */
147
  .gradio-markdown p {
148
- color: #2F4F4F !important;
149
- font-size: 1.1em !important;
150
  text-align: center !important;
151
  margin-bottom: 30px !important;
152
- font-weight: 400 !important;
 
 
 
153
  }
154
 
155
  /* Refined input styling */
 
60
  return chat_history, image_paths
61
 
62
  #hopefully fixed CSS code
 
63
  css = """
64
  .gradio-container {
65
  background: linear-gradient(135deg, #F4D2D0 0%, #E8B5B3 100%) !important;
66
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
67
  }
68
 
69
+ /* Professional container styling - larger chatbot */
70
  #chatbot-box {
71
  background-color: #2F4F4F !important;
72
  color: white !important;
73
  border-radius: 12px !important;
74
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
75
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
76
+ min-height: 500px !important;
77
+ height: 500px !important;
78
  }
79
 
80
  #gallery-box {
 
144
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
145
  }
146
 
147
+ /* Professional subtitle - larger and more visible */
148
  .gradio-markdown p {
149
+ color: #1A3333 !important;
150
+ font-size: 1.4em !important;
151
  text-align: center !important;
152
  margin-bottom: 30px !important;
153
+ font-weight: 500 !important;
154
+ font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
155
+ letter-spacing: 0.5px !important;
156
+ text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
157
  }
158
 
159
  /* Refined input styling */