Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,54 +220,6 @@ A culturally authentic and conversational response to the question: '{question}'
|
|
| 220 |
|
| 221 |
def build_interface():
|
| 222 |
logging.info("Building Gradio interface...")
|
| 223 |
-
|
| 224 |
-
custom_css = """
|
| 225 |
-
body {
|
| 226 |
-
background-color: A9A9A9;
|
| 227 |
-
font-family: 'Arial', sans-serif;
|
| 228 |
-
color: #ffffff;
|
| 229 |
-
}
|
| 230 |
-
|
| 231 |
-
.gradio-container {
|
| 232 |
-
background: A9A9A9;
|
| 233 |
-
border-radius: 10px;
|
| 234 |
-
padding: 20px;
|
| 235 |
-
color: #ffffff;
|
| 236 |
-
}
|
| 237 |
-
|
| 238 |
-
/* Center-justify welcome and bio sections */
|
| 239 |
-
.welcome-section, .bio-section {
|
| 240 |
-
color: #ffffff;
|
| 241 |
-
background-color: transparent;
|
| 242 |
-
font-size: 16px;
|
| 243 |
-
text-align: center; /* Center the text */
|
| 244 |
-
display: block !important; /* Use flexbox for centering within the row */
|
| 245 |
-
justify-content: center; /* Center horizontally */
|
| 246 |
-
align-items: center; /* Center vertically (if needed) */
|
| 247 |
-
flex-direction: column; /* Arrange items vertically */
|
| 248 |
-
}
|
| 249 |
-
|
| 250 |
-
.welcome-section > *, .bio-section > * { /* Center markdown elements within flex container */
|
| 251 |
-
text-align: center;
|
| 252 |
-
}
|
| 253 |
-
|
| 254 |
-
#logo {
|
| 255 |
-
background-color: #000000;
|
| 256 |
-
}
|
| 257 |
-
|
| 258 |
-
.logo-row {
|
| 259 |
-
display: flex;
|
| 260 |
-
justify-content: flex-start;
|
| 261 |
-
align-items: flex-start;
|
| 262 |
-
margin: 0;
|
| 263 |
-
padding: 0;
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
.logo-row > * { /* Remove margins from the image itself */
|
| 267 |
-
margin: 0;
|
| 268 |
-
}
|
| 269 |
-
|
| 270 |
-
"""
|
| 271 |
|
| 272 |
# Hardcoded test panelists
|
| 273 |
panelists = [
|
|
|
|
| 220 |
|
| 221 |
def build_interface():
|
| 222 |
logging.info("Building Gradio interface...")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
|
| 224 |
# Hardcoded test panelists
|
| 225 |
panelists = [
|