Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -297,12 +297,15 @@ title = "GBVR Chatbot"
|
|
| 297 |
|
| 298 |
# Custom CSS for styling the interface
|
| 299 |
custom_css = """
|
|
|
|
| 300 |
body {
|
| 301 |
font-family: "Arial", serif;
|
| 302 |
}
|
|
|
|
| 303 |
.gradio-container {
|
| 304 |
font-family: "Times New Roman", serif;
|
| 305 |
}
|
|
|
|
| 306 |
.gr-button {
|
| 307 |
background-color: #007bff; /* Blue button */
|
| 308 |
color: white;
|
|
@@ -312,9 +315,19 @@ body {
|
|
| 312 |
padding: 10px 20px;
|
| 313 |
cursor: pointer;
|
| 314 |
}
|
|
|
|
| 315 |
.gr-textbox:focus, .gr-button:focus {
|
| 316 |
outline: none; /* Remove outline focus for a cleaner look */
|
| 317 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 318 |
"""
|
| 319 |
|
| 320 |
# Generate a simple welcome message using the LLM
|
|
|
|
| 297 |
|
| 298 |
# Custom CSS for styling the interface
|
| 299 |
custom_css = """
|
| 300 |
+
/* Custom CSS for styling the interface */
|
| 301 |
body {
|
| 302 |
font-family: "Arial", serif;
|
| 303 |
}
|
| 304 |
+
|
| 305 |
.gradio-container {
|
| 306 |
font-family: "Times New Roman", serif;
|
| 307 |
}
|
| 308 |
+
|
| 309 |
.gr-button {
|
| 310 |
background-color: #007bff; /* Blue button */
|
| 311 |
color: white;
|
|
|
|
| 315 |
padding: 10px 20px;
|
| 316 |
cursor: pointer;
|
| 317 |
}
|
| 318 |
+
|
| 319 |
.gr-textbox:focus, .gr-button:focus {
|
| 320 |
outline: none; /* Remove outline focus for a cleaner look */
|
| 321 |
}
|
| 322 |
+
|
| 323 |
+
/* Specific CSS for the welcome message */
|
| 324 |
+
.gradio-description {
|
| 325 |
+
font-size: 20px; /* Set font size for the welcome message */
|
| 326 |
+
font-family: "Arial", sans-serif;
|
| 327 |
+
text-align: center; /* Optional: Center-align the text */
|
| 328 |
+
padding: 20px; /* Optional: Add padding around the welcome message */
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
"""
|
| 332 |
|
| 333 |
# Generate a simple welcome message using the LLM
|