Nischal Subedi
commited on
Commit
·
27665bd
1
Parent(s):
57ac8b3
dadded personal info for dashboard
Browse files
app.py
CHANGED
|
@@ -227,6 +227,25 @@ Answer:"""
|
|
| 227 |
margin-bottom: 30px;
|
| 228 |
}
|
| 229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
/* Input fields */
|
| 231 |
.gr-textbox, .gr-dropdown {
|
| 232 |
border: 1px solid #dcdcdc !important;
|
|
@@ -307,6 +326,16 @@ Answer:"""
|
|
| 307 |
.gr-description {
|
| 308 |
color: #bdc3c7;
|
| 309 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 310 |
.gr-textbox, .gr-dropdown {
|
| 311 |
background-color: #34495e !important;
|
| 312 |
color: #ecf0f1 !important;
|
|
@@ -336,6 +365,9 @@ Answer:"""
|
|
| 336 |
.gr-description {
|
| 337 |
font-size: 1em;
|
| 338 |
}
|
|
|
|
|
|
|
|
|
|
| 339 |
.gr-textbox, .gr-dropdown {
|
| 340 |
font-size: 0.9em !important;
|
| 341 |
}
|
|
@@ -378,7 +410,7 @@ Answer:"""
|
|
| 378 |
elem_classes="output-markdown"
|
| 379 |
),
|
| 380 |
title="🏠 Landlord-Tenant Rights Bot",
|
| 381 |
-
description="Ask questions about tenant rights and landlord-tenant laws based on state-specific legal documents. Provide your OpenAI API key, select a state, and enter your question below. You can get an API key from [OpenAI](https://platform.openai.com/api-keys).",
|
| 382 |
examples=example_queries,
|
| 383 |
theme=gr.themes.Default(),
|
| 384 |
css=custom_css
|
|
|
|
| 227 |
margin-bottom: 30px;
|
| 228 |
}
|
| 229 |
|
| 230 |
+
/* Footnote styling */
|
| 231 |
+
.footnote {
|
| 232 |
+
font-size: 1.1em; /* Increased font size */
|
| 233 |
+
color: #34495e;
|
| 234 |
+
text-align: center;
|
| 235 |
+
margin-top: 20px;
|
| 236 |
+
padding-top: 10px;
|
| 237 |
+
border-top: 1px solid #e0e0e0;
|
| 238 |
+
}
|
| 239 |
+
.footnote a {
|
| 240 |
+
color: #3498db;
|
| 241 |
+
text-decoration: none;
|
| 242 |
+
transition: color 0.3s ease;
|
| 243 |
+
}
|
| 244 |
+
.footnote a:hover {
|
| 245 |
+
color: #2980b9;
|
| 246 |
+
text-decoration: underline;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
/* Input fields */
|
| 250 |
.gr-textbox, .gr-dropdown {
|
| 251 |
border: 1px solid #dcdcdc !important;
|
|
|
|
| 326 |
.gr-description {
|
| 327 |
color: #bdc3c7;
|
| 328 |
}
|
| 329 |
+
.footnote {
|
| 330 |
+
color: #bdc3c7;
|
| 331 |
+
border-top: 1px solid #7f8c8d;
|
| 332 |
+
}
|
| 333 |
+
.footnote a {
|
| 334 |
+
color: #66b0ff;
|
| 335 |
+
}
|
| 336 |
+
.footnote a:hover {
|
| 337 |
+
color: #4a90e2;
|
| 338 |
+
}
|
| 339 |
.gr-textbox, .gr-dropdown {
|
| 340 |
background-color: #34495e !important;
|
| 341 |
color: #ecf0f1 !important;
|
|
|
|
| 365 |
.gr-description {
|
| 366 |
font-size: 1em;
|
| 367 |
}
|
| 368 |
+
.footnote {
|
| 369 |
+
font-size: 1em; /* Slightly smaller but still larger than before */
|
| 370 |
+
}
|
| 371 |
.gr-textbox, .gr-dropdown {
|
| 372 |
font-size: 0.9em !important;
|
| 373 |
}
|
|
|
|
| 410 |
elem_classes="output-markdown"
|
| 411 |
),
|
| 412 |
title="🏠 Landlord-Tenant Rights Bot",
|
| 413 |
+
description="Ask questions about tenant rights and landlord-tenant laws based on state-specific legal documents. Provide your OpenAI API key, select a state, and enter your question below. You can get an API key from [OpenAI](https://platform.openai.com/api-keys).\n\n<div class='footnote'>Developed by Nischal Subedi. Follow me on LinkedIn: <a href='https://www.linkedin.com/in/nischal1/' target='_blank'>Nischal Subedi</a>.</div>",
|
| 414 |
examples=example_queries,
|
| 415 |
theme=gr.themes.Default(),
|
| 416 |
css=custom_css
|