Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,17 @@ theme = gr.themes.Soft(
|
|
| 13 |
background_fill_primary = 'primary_600'
|
| 14 |
)
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
with open("knowledge.txt" , "r", encoding="utf-8") as f:
|
| 17 |
knowledge_base = f.read()
|
| 18 |
|
|
|
|
| 13 |
background_fill_primary = 'primary_600'
|
| 14 |
)
|
| 15 |
|
| 16 |
+
custom_css = """
|
| 17 |
+
:root { /* This applies to the light mode */
|
| 18 |
+
--background-fill-primary: #FFB6C1 !important; /* Light pink */
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.dark { /* This applies to the dark mode */
|
| 22 |
+
--background-fill-primary: #FF69B4 !important; /* Hot pink */
|
| 23 |
+
}
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
|
| 27 |
with open("knowledge.txt" , "r", encoding="utf-8") as f:
|
| 28 |
knowledge_base = f.read()
|
| 29 |
|