Shivdutta commited on
Commit
3de9321
Β·
verified Β·
1 Parent(s): 04e4d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -13
app.py CHANGED
@@ -110,30 +110,26 @@ with gr.Blocks() as demo:
110
  /* General Layout */
111
  body {
112
  font-family: 'Arial', sans-serif;
113
- background-color: #f4f6f9; /* Light pastel background */
114
  margin: 0;
115
  padding: 0;
116
  }
117
-
118
  /* Header */
119
  h1, h2, h3 {
120
  text-align: center;
121
  color: #3a3a3a;
122
  font-weight: bold;
123
  }
124
-
125
  gr-Markdown h1 {
126
  font-size: 28px;
127
  color: #a3d5d3; /* Soft pastel teal for the header */
128
  }
129
-
130
  /* Container and Columns */
131
  .gr-row {
132
  display: flex;
133
  justify-content: center;
134
  margin: 20px 0;
135
  }
136
-
137
  .gr-column {
138
  flex: 1;
139
  margin: 0 10px;
@@ -142,7 +138,6 @@ with gr.Blocks() as demo:
142
  background-color: #f8f0fa; /* Pastel pink background for columns */
143
  border-radius: 8px;
144
  }
145
-
146
  /* Input Components */
147
  .gr-Image, .gr-Audio, .gr-Text {
148
  width: 100%;
@@ -151,13 +146,11 @@ with gr.Blocks() as demo:
151
  border: 1px solid #e3e3e3;
152
  border-radius: 8px;
153
  }
154
-
155
  .gr-Image label, .gr-Audio label, .gr-Text label {
156
  font-size: 16px;
157
  font-weight: bold;
158
  color: #8b8b8b;
159
  }
160
-
161
  /* Submit Button */
162
  .gr-Button {
163
  width: 100%;
@@ -170,11 +163,9 @@ with gr.Blocks() as demo:
170
  cursor: pointer;
171
  transition: background-color 0.3s ease;
172
  }
173
-
174
  .gr-Button:hover {
175
  background-color: #9db6d3; /* Darker pastel blue on hover */
176
  }
177
-
178
  /* Text Output */
179
  .gr-Text {
180
  font-size: 16px;
@@ -185,19 +176,17 @@ with gr.Blocks() as demo:
185
  border-radius: 5px;
186
  background-color: #edf5e1; /* Light pastel green for the output text box */
187
  }
188
-
189
  /* Responsive Design */
190
  @media (max-width: 768px) {
191
  .gr-row {
192
  flex-direction: column;
193
  }
194
-
195
  .gr-column {
196
  margin: 10px 0;
197
  }
198
  }
199
  </style>
200
-
201
  # Engage with MultiModal GPT!
202
  A seamless AI experience combining CLIP and Phi-2 models.
203
  """
 
110
  /* General Layout */
111
  body {
112
  font-family: 'Arial', sans-serif;
113
+ background-color: #ffe4e1; /* Soft pastel pink */
114
  margin: 0;
115
  padding: 0;
116
  }
 
117
  /* Header */
118
  h1, h2, h3 {
119
  text-align: center;
120
  color: #3a3a3a;
121
  font-weight: bold;
122
  }
 
123
  gr-Markdown h1 {
124
  font-size: 28px;
125
  color: #a3d5d3; /* Soft pastel teal for the header */
126
  }
 
127
  /* Container and Columns */
128
  .gr-row {
129
  display: flex;
130
  justify-content: center;
131
  margin: 20px 0;
132
  }
 
133
  .gr-column {
134
  flex: 1;
135
  margin: 0 10px;
 
138
  background-color: #f8f0fa; /* Pastel pink background for columns */
139
  border-radius: 8px;
140
  }
 
141
  /* Input Components */
142
  .gr-Image, .gr-Audio, .gr-Text {
143
  width: 100%;
 
146
  border: 1px solid #e3e3e3;
147
  border-radius: 8px;
148
  }
 
149
  .gr-Image label, .gr-Audio label, .gr-Text label {
150
  font-size: 16px;
151
  font-weight: bold;
152
  color: #8b8b8b;
153
  }
 
154
  /* Submit Button */
155
  .gr-Button {
156
  width: 100%;
 
163
  cursor: pointer;
164
  transition: background-color 0.3s ease;
165
  }
 
166
  .gr-Button:hover {
167
  background-color: #9db6d3; /* Darker pastel blue on hover */
168
  }
 
169
  /* Text Output */
170
  .gr-Text {
171
  font-size: 16px;
 
176
  border-radius: 5px;
177
  background-color: #edf5e1; /* Light pastel green for the output text box */
178
  }
 
179
  /* Responsive Design */
180
  @media (max-width: 768px) {
181
  .gr-row {
182
  flex-direction: column;
183
  }
 
184
  .gr-column {
185
  margin: 10px 0;
186
  }
187
  }
188
  </style>
189
+
190
  # Engage with MultiModal GPT!
191
  A seamless AI experience combining CLIP and Phi-2 models.
192
  """